P is for Practical | |
PerlMonks |
Re^3: Non-CGI perl scripts on a web server?by Happy-the-monk (Canon) |
on Feb 23, 2015 at 13:55 UTC ( [id://1117549]=note: print w/replies, xml ) | Need Help?? |
If you don't mind the browser possibly displaying a "500" Internal Server Error and a "404" Not found in return, you don't. A simple way of stopping it from doing that may be a print "Content-Type: text/plain\n\n"; to deliver back an empty text document. Cheers, Sören Créateur des bugs mobiles - let loose once, run everywhere.
In Section
Seekers of Perl Wisdom
|
|