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

Re: CGI.pm: Can't modify non-lvalue subroutine call

by hippo (Bishop)
on Mar 22, 2019 at 23:02 UTC ( #1231578=note: print w/replies, xml ) Need Help??


in reply to CGI.pm: Can't modify non-lvalue subroutine call

The correct way to set the value of a parameter to that of another is this:

$q->param ( -name => 'product_key', -value => $q->param('product_key_text') );

Replies are listed 'Best First'.
Re^2: CGI.pm: Can't modify non-lvalue subroutine call
by slugger415 (Monk) on Mar 22, 2019 at 23:11 UTC
    Perfect! thank you for the quick reply.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2022-01-24 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?