go ahead... be a heretic | |
PerlMonks |
Re: My parameters can't escape from the Sun...by autark (Friar) |
on Aug 02, 2000 at 00:26 UTC ( [id://25577]=note: print w/replies, xml ) | Need Help?? |
Maybe you are trying to interpolate method calls in strings?
Unfortunatly, function- and method calls will not interpolate
in strings. So you might try something like this instead:
print "Got: ", $cgi->escape("some_value"), "\n";
Well, you can do something like the following, but I
don't think it's pretty:
print qq(Got: @{[ $cgi->escape("some_value") ]}\n);
Autark
In Section
Seekers of Perl Wisdom
|
|