I'm not sure what you mean. What variable name don't you get? The variable names are all defined in your program.
What my snippet does is to populate a hash called %form. The keys of the hash are the CGI parameters names and the values are either the CGI parameter values or a reference to an array of values if the parameter is multi-valued.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: Re: Re: Re: (Ovid -- bug in your hand-rolled CGI code) Re: Pushing w/ an associative array?
by davorg
in thread Pushing w/ an associative array?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |