Front page | perl.perl6.language |
Postings from February 2009
r25580 - docs/Perl6/Spec
From:
pugs-commits
Date:
February 26, 2009 02:57
Subject:
r25580 - docs/Perl6/Spec
Message ID:
20090226105719.31111.qmail@feather.perl6.nl
Author: wayland
Date: 2009-02-26 11:57:19 +0100 (Thu, 26 Feb 2009)
New Revision: 25580
Modified:
docs/Perl6/Spec/S28-special-names.pod
Log:
Added types to main table
Modified: docs/Perl6/Spec/S28-special-names.pod
===================================================================
--- docs/Perl6/Spec/S28-special-names.pod 2009-02-26 10:19:21 UTC (rev 25579)
+++ docs/Perl6/Spec/S28-special-names.pod 2009-02-26 10:57:19 UTC (rev 25580)
@@ -58,60 +58,60 @@
=head2 Named variables
- Variable Spec Description
- -------- ---- -----------
+ Variable Spec Type Description
+ -------- ---- ---- -----------
- $/ S05 # match object from last match
- $0, $1, $2 S05 # first captured value from match: $/[0]
- @*ARGS S06 # command-line arguments
- $*ARGFILES S02 # The magic command-line input handle
- &?BLOCK S06 # current block (itself)
- ::?CLASS # current class (as package or type name)
- $?CLASS # current class (as package object)
- @=COMMENT # All the comment blocks in the file
- %?CONFIG # configuration hash
- $=DATA # data block handle (=begin DATA ... =end)
- @=DATA # Same as above, but array
- %?DEEPMAGIC S13 # Controls the mappings of magical names to sub definitions
- $?DISTRO S02 # Which OS distribution am I compiling under
- $*EGID # effective group id
- %*ENV # system environment variables
- $*ERR S16 # Standard error handle; is an IO object
- $*EUID # effective user id
- $*EXECUTABLE_NAME # executable name
- $?FILE # current filename of source file
- $?GRAMMAR # current grammar (as object)
- $*GID # group id
- $*IN S16 # Standard input handle; is an IO object
- $*INC S11 # where to search for user modules (but not std lib!)
- $?LABEL # label of current block (XXX unnecessary?)
- $?LANG S02 # Which Perl parser should embedded closures parse with?
- $*LANG S02 # LANG variable from %*ENV that defines what human language is used
- $?LINE # current line number in source file
- %*META-ARGS S19 # Meta-arguments
- $?MODULE # current module (as package object variable)
- %*OPTS S19 # Options from command line
- %*OPT... S19 # Options from command line to be passed down
- $?OS # operating system compiled for
- $*OS # operating system running under
- $?OSVER # operating system version compiled for
- $*OSVER # operating system version running under
- $*OUT S16 # Standard output handle; is an IO object
- $?PARSER S02 # Which Perl grammar was used to parse this statement?
- $?PACKAGE # current package (as package object variable)
- $?PERL S02 # Which Perl am I compiled for?
- $*PERL # perl version running under
- $*PID # system process id
- %=POD S02 # (or some such)
- $*PROGRAM_NAME # name of the Perl program being executed
- ::?ROLE # current role (as package or type name)
- $?ROLE # current role (as package object variable)
- &?ROUTINE S06 # current sub or method (itself)
- $?SCOPE S02 # Current "my" scope (XXX unnecessary?)
- $*UID # system user id
- $?USAGE S06 # Default usage message generated at compile time
- $?VM S02 # Which virtual machine am I compiling under
- $?XVM S02 # Which virtual machine am I cross-compiling for
+ $/ S05 Match # match object from last match
+ $0, $1, $2 S05 Str # first captured value from match: $/[0]
+ @*ARGS S06 Array of Str # command-line arguments
+ $*ARGFILES S02 IO # The magic command-line input handle
+ &?BLOCK S06 Block # current block (itself)
+ ::?CLASS Str # current class (as package or type name)
+ $?CLASS Class # current class (as package object)
+ @=COMMENT # All the comment blocks in the file
+ %?CONFIG Hash of XXX # configuration hash
+ $=DATA # data block handle (=begin DATA ... =end)
+ @=DATA # Same as above, but array
+ %?DEEPMAGIC S13 Hash of XXX # Controls the mappings of magical names to sub definitions
+ $?DISTRO S02 Str # Which OS distribution am I compiling under
+ $*EGID Int # effective group id
+ %*ENV Hash of Str # system environment variables
+ $*ERR S16 IO # Standard error handle
+ $*EUID Int # effective user id
+ $*EXECUTABLE_NAME Str # executable name
+ $?FILE Str # current filename of source file
+ $?GRAMMAR Grammar # current grammar (as object)
+ $*GID Int # group id
+ $*IN S16 IO # Standard input handle; is an IO object
+ $*INC S11 # where to search for user modules (but not std lib!)
+ $?LABEL # label of current block (XXX unnecessary?)
+ $?LANG S02 # Which Perl parser should embedded closures parse with?
+ $*LANG S02 Str # LANG variable from %*ENV that defines what human language is used
+ $?LINE Int # current line number in source file
+ %*META-ARGS S19 Hash of XXX # Meta-arguments
+ $?MODULE Module # current module (as package object variable)
+ %*OPTS S19 Hash of XXX # Options from command line
+ %*OPT... S19 Hash of XXX # Options from command line to be passed down
+ $?OS Str # operating system compiled for
+ $*OS Str # operating system running under
+ $?OSVER Str # operating system version compiled for
+ $*OSVER Str # operating system version running under
+ $*OUT S16 IO # Standard output handle
+ $?PARSER S02 Grammar # Which Perl grammar was used to parse this statement?
+ $?PACKAGE Package # current package (as package object variable)
+ $?PERL S02 Str # Which Perl am I compiled for?
+ $*PERL Str # perl version running under
+ $*PID Int # system process id
+ %=POD S02 # (or some such)
+ $*PROGRAM_NAME Str # name of the Perl program being executed
+ ::?ROLE Str # current role (as package or type name)
+ $?ROLE Role # current role (as package object variable)
+ &?ROUTINE S06 Routine # current sub or method (itself)
+ $?SCOPE S02 # Current "my" scope (XXX unnecessary?)
+ $*UID Int # system user id
+ $?USAGE S06 Str # Default usage message generated at compile time
+ $?VM S02 Str # Which virtual machine am I compiling under
+ $?XVM S02 Str # Which virtual machine am I cross-compiling for
Note that contextual variables such as C<$*OUT> may have more than
one current definition in the outer dynamic context, in which case
-
r25580 - docs/Perl6/Spec
by pugs-commits