class Distro

Distribution related information

class Distro does Systemic { }

Built-in class for providing distribution related information. Usually accessed through the $*DISTRO dynamic variable.

Methods

method auth

Instance method returning the "auth" (as in "author" or "authority") of the Distro object. Returns "unknown" if the "auth" could not be established.

method desc

Instance method returning the "desc" (as in "description") of the Distro object. Returns a Str type object if the "desc" could not be established.

method is-win

Instance method returning a Bool indicating whether the distribution is a version of the Windows operating system.

method name

Instance method returning the name of the Distro object. Returns "unknown" if the name could not be established.

method path-sep

Instance method returning the string that can be used to delimit elements in a path specification.

method release

Instance method returning the release information of the Distro object. Dies if the release information could not be established.

method signature

Instance method returning the signature of the Distro object. Returns a Blob type object if the signature could not be established.

method version

Instance method returning the version of the Distro object as a Version object. Returns a Version object "unknown" if the version could not be established.

See Also: Systemic

Type Graph

Type relations for Distro
perl6-type-graph Distro Distro Any Any Distro->Any Mu Mu Any->Mu

Expand above chart