Thanks for the links all. I'll check them out.
For now I have uploaded my sample script here: http://digioso.org/textareatest.pl
Weird thing that you cannot reproduce it. Possibly could have to do with the webserver settings or the installed Perl version then. Neither are under my control unfortunately since I'm on a large webhoster.
Re^2: [Perl-CGI] Print non-interpolated string