Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- PERL 4.0 Reference Guide - Norton Guide http://www.X-Hacker.org [^^Up^^] [Menu] [About The Guide]
 $_     Default input and pattern-searching space
 $.     Current input line number of last filehandle that was read
 $/     Input record separator, newline by default
 $,     Output field separator for the print operator
 $"     Separator which joins elements of arrays interpolated in strings
 $\     Output record separator for the print operator
 $#     Output format for printer numbers.  Initial valis is "%.20g"
 $%     Current page number of the current output channel.
 $=     Page length of current output channel.  Default is 60 lines.
 $-     Number of lines left on the page
 $~     Name of the current report format
 $^     Name of the current top-of-page format
 $|     Force flush after exec write or print on currnet channel (0=no)
 $$     Process number of the perl running this script
 $?     Status returned by last 'CMD', pipe close, or system operator
 $&     String matched by the last pattern match
 $`     String preceding what was matched by last pattern match
 $'     String following what was matched by last pattern match
 $+     Last bracket matched by last search pattern
 $*     Flag for multiline matching in strings (zero=no, non-zero-yes)
 $0     Name of the file containing the perl script being executed
 $<d>   ($1..$9,etc) Subpatterns matched in last pattern matched
 $[     Index of the first element in an array and 1st char in string
 $]     Perl version string (displayed by perl -v)
 $;     Subscript separator for multi-dimensoinal array emulation.
 $!     Current error number or string (depending upon context)
 $@     Perl error message from last eval or "do EXPR" command
 $<     Real uid of this process
 $>     Effective uid of this process
 $(     Read gid of this process
 $)     Effective gid of this process
 $:     Current set of characters after which a string may be broken
 $^D    Debug flags as passed to perl using -D
 $^F    Highest system file descriptor, ordinarily 2
 $^I    In-place edit extention as passed to perl using -i
 $^P    Internal debuggin flag
 $^T    Time when program started (delivered by time).
 $^W    Value of the -w option passed to perl
 $^X    Name by which perl was invoked
 $ARGV  Name of the current file when reading from <>
 @ARGV  Contains command line args for script (not included script name)
 @INC   List of places to list for script included with do and require
 %INC   List of files the have been required or done
 %ENV   Accessing the environment list as a hash table
 %SIG   Set signal handlers via and associative array

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson