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

Adding a hash to a CGI param

by bradcathey (Prior)
on Jan 03, 2008 at 15:27 UTC ( #660213=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #EARLIER
    $self->param( 'sql'   => \%sql );
    
    #LATER
    $self->param( 'sql'   => { 'page_id' => 45 } );
    
  2. or download this
    my %sql = %{ $self->param('sql') };
    $sql{'page_id'} = 45;
    $self->param( 'sql'   => \%sql );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://660213]
Approved by citromatik
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2021-08-04 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (41 votes). Check out past polls.

    Notices?