Author: wayland Date: 2009-02-26 12:05:45 +0100 (Thu, 26 Feb 2009) New Revision: 25582
Modified: docs/Perl6/Spec/S28-special-names.pod Log: Updated main table; refactoring after previous additions Modified: docs/Perl6/Spec/S28-special-names.pod =================================================================== --- docs/Perl6/Spec/S28-special-names.pod 2009-02-26 11:04:54 UTC (rev 25581) +++ docs/Perl6/Spec/S28-special-names.pod 2009-02-26 11:05:45 UTC (rev 25582) @@ -61,13 +61,15 @@ Variable Spec Type Description -------- ---- ---- ----------- - $/ S05 Match # match object from last match - $0, $1, $2 S05 Str # first captured value from match: $/[0] + @_ # ??? + $! S04 # Current Exception object + $/ S05 Match # 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) + $?CLASS Class # current class @=COMMENT # All the comment blocks in the file %?CONFIG Hash of XXX # configuration hash $=DATA # data block handle (=begin DATA ... =end) @@ -80,7 +82,7 @@ $*EUID Int # effective user id $*EXECUTABLE_NAME Str # executable name $?FILE Str # current filename of source file - $?GRAMMAR Grammar # current grammar (as object) + $?GRAMMAR Grammar # current grammar $*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!) @@ -89,7 +91,7 @@ $*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) + $?MODULE Module # current module %*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 @@ -98,14 +100,14 @@ $*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) + $?PACKAGE Package # current package $?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) + $?ROLE Role # current role &?ROUTINE S06 Routine # current sub or method (itself) $?SCOPE S02 # Current "my" scope (XXX unnecessary?) $*UID Int # system user id