After clicking on submit Perl now starts to execute the contents of the textareaI cannot reproduce the problem. If I run your script, HTML in the textarea is interpreted by the browser, but Perl commands are not run. To prevent the contents from evaluation, just replace all & to &, and all < to <.
$text =~ s/&/&/g; $text =~ s/</</g;
In reply to Re: [Perl-CGI] Print non-interpolated string
by choroba
in thread [Perl-CGI] Print non-interpolated string
by Digioso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |