In main it uses @ARGV as the standard variable for shift because shift without any parameters is used to get arguments given to a function, and the arguments given to 'main' are the command line parameters i.e. @ARGV. So @ARGV is the most logical choice for this.
-n0mad-