Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Can't modify variable received from CGI parameter

by benn (Priest)
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.


Comment on Re: Can't modify variable received from CGI parameter
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://289976]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (19)
As of 2015-07-02 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (45 votes), past polls