http://qs1969.pair.com?node_id=1231578


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.