You are viewing the version of this documentation from Perl 5.005_02. View the latest version
@ARGV

The array @ARGV contains the command line arguments intended for the script. Note that $#ARGV is the generally number of arguments minus one, because $ARGV[0] is the first argument, NOT the command name. See "$0" for the command name.