http://qs321.pair.com?node_id=665152


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

my $query = new CGI; $query->delete_all(); print $query->hidden(mode => 'save');
should work (not tested, though).

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

    Hi moritz

    Yes works :)

    Besten Dank !

    Have a nice day.

    "There is only one good, namely knowledge, and only one evil, namely ignorance." Socrates