Help for this page
#command line passed to the terminal > cl_args.pl myfile1.txt myfile2.txt myfile3.txt
# cl_args.pl use strict; ... # @ARGV is an array that can be be assigned to within your script @ARGV = ( 'myfile4.txt' ); @ARGV == 1 and print @ARGV;