in reply to Re^2: Cannot clear cgi param (if it's really what I need to do)
in thread Cannot clear cgi param (if it's really what I need to do)
This does not appear to be the case.
BEGIN { $ENV{QUERY_STRING} = 'mode=orig'; $ENV{REQUEST_METHOD} = 'GET'; } use CGI qw( hidden ); print hidden( 'mode', 'second arg' ), "\n"; print hidden( -name => 'mode', -default => 'default', ), "\n"; print hidden( -name => 'mode', -default => 'forced', -override => 1 ), "\n"; __END__ <input type="hidden" name="mode" value="orig" /> <input type="hidden" name="mode" value="orig" /> <input type="hidden" name="mode" value="forced" />
Perhaps your code is doing something different from what you think it's doing?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Cannot clear cgi param (if it's really what I need to do)
by lepetitalbert (Abbot) on Jan 31, 2008 at 09:33 UTC | |
by ikegami (Patriarch) on Jan 31, 2008 at 10:16 UTC | |
by lepetitalbert (Abbot) on Jan 31, 2008 at 12:26 UTC |