Prepend the code below to an HTML file then drop it into the CGI script folder to get served up using the file name in the URL. For example drop index.html into the directory where your CGI scripts are, prepend the header and access it as http://dibbly.wobbly.com/cgi-bin/index.html
Update: add missing use HTML::Template. But see replies in any case! (One ought not rush to print!)
#!Perl -w use strict; use CGI::Pretty qw(:standard :cgi-lib); use HTML::Template; print header(); my $template = HTML::Template->new (filehandle => *DATA); print $template->output (); __DATA__
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |