role Systemic

Information related to the build system

Built-in class for providing built system related information. Usually accessed through dynamic variables mixing this role such as the $*KERNEL, $*VM, or $*PERL.

Methods

method auth

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

method config

Instance returning a hash with object configuration information. Subject to change without notice, but can be helpful in environments where only one type of virtual machine is in use, or to find about the configuration of any other object that mixes in this role.

method desc

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

method name

Instance method returning the name of the object.

method signature

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

method version

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

method gist

method gistSystemic:D: )

Instance method returning the name and version of the object.

say $*PERL.gist# OUTPUT: «Perl 6 (6.c)␤»

$*PERL is an object of the Perl type, which mixes in this role and thus implements this method.

method Str

method Str

Instance method returning the name of the object.

say $*PERL.Str# OUTPUT: «Perl 6␤»

Type Graph

Type relations for Systemic
perl6-type-graph Systemic Systemic Mu Mu Any Any Any->Mu Perl Perl Perl->Systemic Perl->Any VM VM VM->Systemic VM->Any Compiler Compiler Compiler->Systemic Compiler->Any

Expand above chart