in reply to making a hash from cgi parameters
@IN = params(); foreach $field (@IN){ DATA{$field} = param($field); }
I think this creates a hash, %DATA. So, if you have a name of "name", to get that value it's $DATA{name}. Red------
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: You want Params Into a Hash Called Data?
by davorg (Chancellor) on May 25, 2001 at 01:50 UTC | |
by Red Neckerson (Novice) on May 25, 2001 at 09:39 UTC |