HOw to pass parameters to the perl script?

2002-09-07 Thread Almond
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

Re: HOw to pass parameters to the perl script?

2002-09-07 Thread Bob Showalter
- 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

RE: HOw to pass parameters to the perl script?

2002-09-07 Thread Beau E. Cox
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

Re: HOw to pass parameters to the perl script?

2002-09-07 Thread Simon K. Chan
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