On Aug 9, 2004, at 4:06 PM, Bob Showalter wrote:
Here's the approach I would take (not tested!)
my %data;
for (param()) { # loop through all parameters
if (/^([qtdp])(\d+)$/) {
my $prefix = $1;
my $num = $2;
$data{$num}{prefix} = param($_);
}
}
Bas
Bill Stephenson wrote:
> Hi all,
>
> I need some help. I have name/value parameters coming in from a web
> form that look something like this (blank lines added for clarity):
>
> firstname=bill
> lastname=stephenson
>
> q1=1
> t1=y
> d1=something 1
> p1=3.45
>
Hi all,
I need some help. I have name/value parameters coming in from a web
form that look something like this (blank lines added for clarity):
firstname=bill
lastname=stephenson
q1=1
t1=y
d1=something 1
p1=3.45
q2=
t2=y
d2=s