in reply to Cannot clear cgi param (if it's really what I need to do)
When you clear the data from a particular CGI object, $query, you should call the method hidden on that object. Don't use the sub form.
I think
should work (not tested, though).my $query = new CGI; $query->delete_all(); print $query->hidden(mode => 'save');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Cannot clear cgi param (if it's really what I need to do)
by lepetitalbert (Abbot) on Jan 30, 2008 at 16:35 UTC |
In Section
Seekers of Perl Wisdom