http://www.perlmonks.org?node_id=1081098


in reply to Re^3: [Perl-CGI] Print non-interpolated string
in thread [Perl-CGI] Print non-interpolated string

Thanks, I managed to fix it.
The documentation is... let's say not really clear on how to use it.
It says: $escaped_string = escapeHTML("unescaped string");

But for manual use it's $escaped_string = $cgi->escapeHTML("unescaped string");
Unfortunately this is not mentioned in the documentation but Google found the Syntax for me. This method is not importet by using 'use CGI;'. It's a method on the $cgi-Object. :)

And you're right: This method is used automatcally only for forms created using CGI.pm and not on my self-written HTML-code.