Summary: A quick tip on how to read Perl command line arguments.
When you're writing a Perl script, command-line arguments are stored in the array named
$ARGV contains the first argument,
$ARGV contains the second argument, etc.
$#ARGV is the subscript of the last element of the
@ARGV array, so the number of arguments on the command line is
$#ARGV + 1.