Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 scrutinizing the Monastery: (6)
As of 2021-09-17 17:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?