On 05/03/2012 10:18 AM, Lawrence Statton wrote:

I'll follow up to my own response in a few minutes with a trivial
program that produces content without using CGI.pm I need to configure a
webserver to do CGI which I have none at hand.


As promised:  A minimal perl program to produce content without using CGI.pm

#!/usr/bin/perl
use strict;
use warnings;

print <<'EOF';
Content-Type: text/html

<html>
 <head>
  <title>Hello World</title>
 </head>
 <body>
  <h1>Hello World</h1>
 </body>
</html>
EOF
exit(0);


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to