Perl: @ARGV
@ARGV
The @ARGV array holds any arguments typed on the command line
$0 is a special variable which holds the name of your script
If you invoke a program like this:
% myprog.pl file1.txt file2.txt
The following variables get set automatically: