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

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



Please use a syntax checker before posting not workable code!!

At 17:03 Uhr +0200 18.05.2000, Jimmy Lantz wrote:
>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