Arthur
04-01-2006, 07:24 PM
I'm not very familiar with perl and was hoping to get some help with a little problem I had:
I have a form that passes information to a processing script that forwards info to the following user output script:
###########################################
my $cgi = CGI->new();
my @param = $cgi->param();
print"Content-type: text/html\n\n";
for(@param)
{
my @arr = $cgi->param($_);
print"$_:".join(':',@arr)."<br>";
}
###########################################
This script outputs the formfield name and the value. What I wanted to do was isolate specific form values for additional processing.
I was able to isolate the form names buy simiply stating:
##########################################
print"".$param[0]."";
##########################################
but can't isolate the value in the @arr array.
Any solutions...?
I have a form that passes information to a processing script that forwards info to the following user output script:
###########################################
my $cgi = CGI->new();
my @param = $cgi->param();
print"Content-type: text/html\n\n";
for(@param)
{
my @arr = $cgi->param($_);
print"$_:".join(':',@arr)."<br>";
}
###########################################
This script outputs the formfield name and the value. What I wanted to do was isolate specific form values for additional processing.
I was able to isolate the form names buy simiply stating:
##########################################
print"".$param[0]."";
##########################################
but can't isolate the value in the @arr array.
Any solutions...?