[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-WebCGI] tricky scalar? Assigning to.. AKUT



Hi, I have a cgi-script that takes the input from a form and precesses
it and in one case it produces a new htmlform which is being sents to it
self and then process that and prints a new form which is being
proceccesed by another cgi.
Now I have scalars which has the same name in the incoming form values
(%in) there for I need to assign the following scenario.:
${now2}name = $in{"${now2}name"}  
that is :
a scalar with a numer and a name together has to be assigned the value 
of the same scalarname in the incoming hash.

I've tried this but it doesn't work, Any Ideas? 

$now2 = 1;
until ($now2 == $delkursantal2) {
$delmomentvariabel = $now2 . Delmomentantal;
${now2}Delmomentantal = $in{"$delmomentvariabel"}
$now2++;
}

I'm greatfull for anyhelp.
Yours sincerely
Jimmy Lantz

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org