----- Original Message -----
From: "Almond" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 06, 2002 3:50 PM
Subject: HOw to pass parameters to the perl script?


>
> Please,
>
> trying to invoke perl script from the shell and have to pass parameter
> to it.
>
> What is the right way to do it?

Program arguments will be found in the global array @ARGV. Is that what
you're asking?

$ perl -le 'print for @ARGV' foo bar baz
foo
bar
baz

see 'perldoc perlvar'



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to