in reply to Re^3: CGI and why?
in thread CGI and why?
It might not be unreasonable to ask this question: "If you are not interested in the params why have them in your form?" You only get form params with Vars() not the CGI object.
One potentially useful thing you don't do but could is to ensure that the values are defined so you avoid warnings if you are using eq, ne or doing an untaint.
my %param; $param{$_} = $q->param($_) || '' for $q->param(); # or a fixed list of + params ;-)
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: CGI and why?
by Aristotle (Chancellor) on Dec 31, 2002 at 23:48 UTC |