Some Perl Special Variables Some Global Special Arrays and Hashes 18 of 28 : [PREV] [NEXT]

@ARGV

  • The array containing the command-line arguments intended for the script.
  print "There are ".scalar(@ARGV)." arguments, the first is $ARGV[0]\n";

© 2004 Barbie barbie@missbarbell.co.uk Home http://birmingham.pm.org/