Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: perl CGI form ignores value

by rjt (Deacon)
on Sep 17, 2012 at 03:10 UTC ( #993948=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $q = new CGI;
        my %vars = $q->Vars; # Fetch all CGI parameters
    ...
    
        # Fetch all defaults from the DB and return as a hash ref
        sub pop_defaults { my $r = { }; ... return $r }
    
  2. or download this
        $vars{$_} = $db_vars{$_} // $q->param($_) for ($q->param);
    
  3. or download this
        %vars{keys %db_vars} = values %db_vars;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2015-07-06 04:08 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 (70 votes), past polls