in reply to You want Params Into a Hash Called Data?
in thread making a hash from cgi parameters

You missed a $ off the front of $DATA{$field} which would prevent this code from compiling.

Even with that fix, it's still a bad idea as it breaks on multi-valued CGI parameters. See (Ovid) Re(2): use CGI for more details.

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me

  • Comment on Re: You want Params Into a Hash Called Data?

Replies are listed 'Best First'.
I think I also missed on param
by Red Neckerson (Novice) on May 25, 2001 at 09:39 UTC
    That should be param(), not params(). Red------