Special Variables : Following are the three categories of special variables in perl
Per-file handle Special Variables
Local Special Variables
Global Special Variables
Per-file handle Special Variables
Local Special Variables
Global Special Variables
Quick reference:
$. - Current line number in a file [Number of current line when reading/writing from/to a file)
$/ - Input record separator
@_ - Subroutine arguments
@ARGV - Command line arguments
$0 - script name
$1..$9 - command line arguments
$@ - The Perl syntax error or routine error message from the last eval, do-FILE, or require command
>>use _ _ without space
_ _LINE_ _ - Line Number [in script]
_ _FILE_ _ - File name
_ _PACKAGE_ _ package name
External Links:
http://www.kichwa.com/quik_ref/spec_variables.html#filehandle