This works fine for me...

#!/usr/bin/perl

use CGI;

$query = new CGI;
@values = $query->param('name');

print "Content-type: text/plain\n\n";
print "@values";


Rob

-----Original Message-----
From: Rahul Garg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 9:45 AM
To: [EMAIL PROTECTED]
Subject: passing parameters


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 passed with
the same name and different value pair.
How to capture all values by parameter name 
ie there are name = value1
name = value2
name= value3
@values = $query->param('name'); is not working

Thanks,
Rahul

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

Reply via email to