in reply to importing HTML code into perl
If you use a here page you do not need to quote stuff or add escapes, plus interpolation of variables is possible:
my $stuff_to_interpolate = 'Just another Perl hacker,'; print <<END_OF_HTML; Content-type: text/html <html> <head> <title> $stuff_to_interpolate </title> </head> <body> Blah blah blah </body> </html> END_OF_HTML
Make sure the token you use (in this case END_OF_HTML )appears on a line by itself and you will be fine
cheerstachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|