I am having trouble dereferencing the CGI->param vars
If I do this
I get
I get
I get
Now I know if I use concatination it will work but that's a real pain as this is a snippet from the massive long line of code as it is, without having to do
etc.. etc...
is there no way to get to the text value of the $cgi->param() object easily?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
If I do this
Code:
print "$cgi->param('name')";
if i do thisCGI=HASH(0x2155b8)->param('name')
Code:
print "$$cgi->param('name')";
if i do thisNot a SCALAR reference
Code:
print "\$cgi->param('name')";
$cgi->param('name')
Now I know if I use concatination it will work but that's a real pain as this is a snippet from the massive long line of code as it is, without having to do
Code:
"my text " . $cgi->param('varname') . " more stuff " . $cgi->param('varname') . " and more stuff" . $cgi->param('varname')
is there no way to get to the text value of the $cgi->param() object easily?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.