According to http://search.cpan.org/~markstos/CGI.pm-3.51/lib/CGI.pm#AUTOESCAPING_HTML I should be able to get the current state of CGI::autoEscape(). However, when I try this, it seems to change the state to false (quantum mechanics?):
perl -e 'use CGI; print $CGI::VERSION . "\n" . ( CGI::autoEscape() || 0 ) . ( CGI::autoEscape() || 0 ) . "\n";'Result:
3.51 10
Am I not doing it right, or is this a CGI bug?
In reply to Get CGI::autoEscape() state by thewebsi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |