good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Adding a hash to a CGI paramby davidrw (Prior) |
on Jan 03, 2008 at 15:35 UTC ( [id://660216]=note: print w/replies, xml ) | Need Help?? |
I believe this will work:
Where the concept is that the value of the 'sql' param is a hash reference, so you just need to retrieve that and work with it as if it you had done something like my $href= \%sql; In the line above, it simply deferences the return value of $self->param( 'sql' ) and sets the page_id key to 45.
In Section
Seekers of Perl Wisdom
|
|