Global Special Arrays and Hashes
@ARGV
The array containing the command-line arguments intended for the script.
@INC
The array containing the list of places to look for Perl scripts to be evaluated by the
do
,require
, oruse
constructs.@F
The array into which the input lines are split when the -a command-line switch is given.
%INC
The hash containing entries for the filename of each file that has been included via
do
orrequire
.%ENV
The hash containing your current environment.
%SIG
The hash used to set signal handlers for various signals.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.