develooper Front page | perl.beginners | Postings from May 2012

Re: Template toolkit issue [SOLVED]

Thread Previous | Thread Next
From:
Lawrence Statton
Date:
May 3, 2012 08:45
Subject:
Re: Template toolkit issue [SOLVED]
Message ID:
4FA2A828.2050703@cluon.com
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);


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About