class Perl

Perl related information

class Perl does Systemic { }

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

Methods

method compiler

Instance method returning the compiler object, of type Compiler, associated with the Perl object.

method DISTROnames

Instance / Class method returning the names of the Distro objects that are supported by this version of Perl.

method KERNELnames

Instance / Class method returning the names of the Kernel objects that are supported by this version of Perl.

method VMnames

Instance / Class method returning the names of the VM objects that are supported by this version of Perl.

See Also

Systemic, Compiler.

Type Graph

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

Expand above chart

Routines supplied by role Systemic

Perl does role Systemic, which provides the following routines:

(Systemic) method auth

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

(Systemic) 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.

(Systemic) 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.

(Systemic) method name

Instance method returning the name of the object.

(Systemic) method signature

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

(Systemic) 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.

(Systemic) 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.

(Systemic) method Str

method Str

Instance method returning the name of the object.

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