Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Can't modify variable received from CGI parameter

by benn (Vicar)
on Sep 09, 2003 at 10:41 UTC ( #289976=note: print w/replies, xml ) Need Help??


in reply to Can't modify variable received from CGI parameter

Altenatively, you could use the '-override' flag, which emoves the stickiness and forces CGI.pm to always use the 'default' value.
print $cgi->hidden( -name => 'species', -default=> $species, -override => 1, );
Cheers, Ben.