On Thu, 2 May 2002 21:32:49 +0200 "Josef E. Galea" <[EMAIL PROTECTED]> wrote:
> How can I pass parameters (eg: a file name) to a Perl script The paramaters will be passed into the array @ARGV so that: perl test.pl file1 file1 file3 will come into the script as: $ARGV[0] = 'file1' $ARGV[1] = 'file2' $ARGV[2] = 'file3' You may also want to look into using Getopt::Std or Getopt::Long to do more interesting commandling arguments handling. --------------------------------- Frank Wiles <[EMAIL PROTECTED]> Revolution Systems, LLC. --------------------------------- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]