in reply to Is it possible to print out CGI fields using the qq operator?
As far as I know you cannot, as tye put it on the chatterbox:
data structure dereferencing is interpretted inside of double quotes, but method calls and code dereferencing aren't
This is more easily seen if you use the OO form of CGI.pm:
use CGI; $cgi = CGI->new; print "$cgi->textfield(-name=>'cgifield',-size=>'20')"; print qq/$cgi->textfield(-name=>'cgifield',-size=>'20')/; print <<EOL; $cgi->textfield(-name=>'cgifield',-size=>'20') EOL #all print CGI=HASH(0x...)
In Section
Seekers of Perl Wisdom