Special variables: Difference between revisions
m
→{{header|Raku}}: Fix link: Perl 6 --> Raku (but stale, needs more work)
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
SqrtNegInf (talk | contribs) m (→{{header|Raku}}: Fix link: Perl 6 --> Raku (but stale, needs more work)) |
||
Line 1,638:
(formerly Perl 6)
It is probably useful to briefly explain normal variables in
Variables in
<lang perl6> $foo scalar (object)
@foo ordered array
Line 1,660:
Special Variables:
<lang perl6> $_ # The implicit variable lexically scoped to the current block
Line 1,703:
$*OUT # Standard output handle
$?PACKAGE # current package
$
$*PID # system process id
%=POD # POD
$*PROGRAM_NAME # name of the
%*PROTOCOLS # Stores the methods needed for the uri() function
::?ROLE # current role (as package or type name)
|