yellow_tree_frog has asked for the wisdom of the Perl Monks concerning the following question:
I am posting info from page A to page B like so:
Page A:
#(within form)
However I need to make this work using variable substitution, something like this:
$xx="custtype";
print "$R::$xx" ; ## but this prints only "custtype"???
Can anybody tell me what syntax I should use for this to work? Thanks.
Page A:
#(within form)
Page B:print "<input type=text name =custtype value=kljlkjklj>";<BR><BR>
$input = new CGI;<BR> $input->import_names('R');<BR> print "$R::custtype" ; ##prints out "kljlkjklj" successfully.
However I need to make this work using variable substitution, something like this:
$xx="custtype";
print "$R::$xx" ; ## but this prints only "custtype"???
Can anybody tell me what syntax I should use for this to work? Thanks.
Back to
Seekers of Perl Wisdom