README

NAME

QueryOS - Provides a class and an executable, query-os, to list OS details

SYNOPSIS


use QueryOS;

DESCRIPTION

QueryOS is a module that provides a class, OS, with methods and attributes to simplify module authors' porting their work to various operating systems by identifying important system discriminators. The module relies on the attributes of Raku's $*DISTRO vatiable and parses out additional details in parts of those attributes.

Current attributes and methods are:

  • name - from $*DISTRO.name

  • version - from $*DISTRO.version

  • version-name - text part of $*DISTRO.name

  • version-serial - number part of $*DISTRO.name

  • is-debian

  • is-windows

  • is-macos

  • is-ubuntu

AUTHOR

Tom Browder <[email protected]>

COPYRIGHT AND LICENSE

Ā© 2023 Tom Browder

This library is free software; you may redistribute it or modify it under the Artistic License 2.0.

QueryOS v0.0.1

Provides a class and an executable, C<query-os>, to list OS details

Authors

  • Tom Browder

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • QueryOS

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.