Get form values data using GET and POST method in perl script programing
by kalai[ Edit ] 2009-01-08 16:13:56
Get values passed along with the url using GET Method
sub populateQueryFields {
%queryString = ();
my $tmpStr = $ENV{ "QUERY_STRING" };
foreach $part (@parts)
( $name, $value ) = split( /=/, $part );
}
}
&populateQueryFields;
$lastName = $queryString{ "lname" };