Please,
trying to invoke perl script from the shell and have to pass parameter to it.
What is the right way to do it?
Thanks
-
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
- 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
perl script_name arg0 arg1 arg2...
the args are available to you in @ARGV.
Aloha => Beau.
-Original Message-
From: Almond [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 9:50 AM
To: [EMAIL PROTECTED]
Subject: HOw to pass parameters to the perl script?
Please,
trying
Hi Almond,
Along with what Bob suggested, you can also try using the module GetOpt::Long, too.
It should be
included in the standard distribution.
HTH,
Simon
--- Almond <[EMAIL PROTECTED]> wrote:
>
> Please,
>
> trying to invoke perl script from the shell and have to pass parameter to it