14
14
15
15
Created: 23 Feb 2009, created by Tim Nelson from miscellaneous documents lying around
16
16
17
- Last Modified: 17 Nov 2010
18
- Version: 10
17
+ Last Modified: 11 Jun 2013
18
+ Version: 11
19
19
20
20
=head1 Special Variables
21
21
@@ -74,26 +74,26 @@ be fleshed out in S26.
74
74
$/ S05 Match # Last match
75
75
$0, $1, $2 S05 Str # First captured value from match: $/[0]
76
76
@*ARGS S06 Array of Str # command-line arguments
77
- $*ARGFILES S02 IO # The magic command-line input handle
77
+ $*ARGFILES S02 IO::Handle # The magic command-line input handle
78
78
&?BLOCK S06 Block # current block (itself)
79
79
::?CLASS S12 Str # current class (as package or type name)
80
80
$?CLASS S02 Class # current class
81
81
@=COMMENT (S26) # All the comment blocks in the file
82
82
%?CONFIG Hash of XXX # configuration hash XXX What does this do?
83
- $*CWD Path # current working directory
83
+ $*CWD S16 IO:: Path # current working directory
84
84
$=data (S26) IO # data block handle (=begin data ... =end)
85
85
%?DEEPMAGIC S13 Hash of XXX # Controls the mappings of magical names to sub definitions
86
86
$?DISTRO S02 Application # Which OS distribution am I compiling under
87
87
$*DISTRO S02 Application # Which OS distribution am I running under
88
88
$*EGID Int # effective group id
89
89
%*ENV S02 Hash of Str # system environment variables
90
- $*ERR S16 IO # Standard error handle
90
+ $*ERR S16 IO::Handle # Standard error handle
91
91
$*EUID Int # effective user id
92
92
$*EXECUTABLE_NAME Str # executable name
93
93
$?FILE S02 Str # current filename of source file
94
94
$?GRAMMAR S02 Grammar # current grammar
95
95
$*GID Int # group id
96
- $*IN S16 IO # Standard input handle; is an IO object
96
+ $*IN S16 IO::Handle # Standard input handle; is an IO object
97
97
@*INC S11 # where to search for user modules (but not std lib!)
98
98
%?LANG S02 Hash of Grammar # What is the current set of interwoven languages?
99
99
$*LANG S02 Str # LANG variable from %*ENV that defines what human language is used
@@ -104,7 +104,7 @@ be fleshed out in S26.
104
104
%*OPT... S19 Hash of XXX # Options from command line to be passed down
105
105
$?KERNEL Application # operating system compiled for
106
106
$*KERNEL Application # operating system running under
107
- $*OUT S16 IO # Standard output handle
107
+ $*OUT S16 IO::Handle # Standard output handle
108
108
$?PACKAGE S02 Package # current package
109
109
$?PERL S02 Application # Which Perl am I compiled for?
110
110
$*PERL S02 Application # perl version running under
@@ -116,6 +116,7 @@ be fleshed out in S26.
116
116
$?ROLE S02 Role # current role
117
117
&?ROUTINE S06 Routine # current sub or method (itself)
118
118
$?SCOPE S02 # Current "my" scope (XXX unnecessary?)
119
+ $*TMPDIR S16 IO::Path # system temporary directory
119
120
$*TZ S32 # Local time zone
120
121
$*UID Int # system user id
121
122
$?USAGE S06 Str # Default usage message generated at compile time
0 commit comments