in reply to Re: Clearing parameters
in thread Clearing parameters

sorry, i knew that question may have been a little cryptic. i have a script that is calling itself repeatedly, and every time, it's accumulating name-value parameter pairs (which is really not the ultimate goal, but i figure i'll clean up later). while i'm debugging, it would be great to have a button that would "erase" everything that's accumulated.

so i tried the following in place of what i had before, and i'm still getting a bunch of parameters passed:

my $q = new CGI; $q->param( $_ => undef ) for $q->param;
i know i could write it out with a for-loop, but it seems there ought to be a cleaner way to do it.