use Getopt::Long;

GetOptions( "option1=s" => \$option1value );

parameters are passed to the script like this

myscript --option1=option1value     or
myscript --option1 option1value

Hope this helps.

Michael D. Eggleton
http://www.gorealnetworks.com
mailto:[EMAIL PROTECTED]


-----Original Message-----
From: "Rahul Garg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Tue, 5 Feb 2002 18:18:45 +0530
Subject: parameter passing

> Well,I have a HTML form which is calling a perl script.In form there
> is a multiple selector box ,now when 2-3 lines are selected each is
> passwd with adifferent name value pair.
> How to capture all values bya parameter name
> Thanks,
> Rahul
> 



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

Reply via email to