> hello everyone,i am trying to execute an asp script from a > perl cgi and i have the following problem > > I am using something like this to get user's input and the > pass it to the asp > > &ReadParse (*input); > > my $pin; > my $passwd; > > my @input; > > $pin = $input {'pin'}; > > $passwd = $input {'passwd'}; > > my $page_url = "10.0.0.4/Validation.asp?pin=$pin&passwd=$passwd"; > > the problem that i seem to be having is that i can not get > the values passed to the asp in the form of > variables,because the values of $pin and $passwd are no > actually being passed to the asp..,therefore it gives back > an empty answer Does anoyone knows how to pass the actual > variables values to the asp?
Check out the cgi module: perldoc cgi You're gonna want to do something like: use CGI; my $cgi = new CGI; for($cgi->param()) { $F{$_} = $cgi->param($_); } Watch out for multivalued form inputs though. This is covered in the CGI.pm documentation. Hope that helps a bit, -dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]