[Athens-pm] HTML::Template....

Mark Pors mark at dreamzpace.com
Mon Feb 24 04:01:42 CST 2003


Ha Antonis,

Did you solve it yet? If not, what does the perl interpreter complain about?

Mark

At 04:22 22/02/2003 -0800, Antonis Faragitakis wrote:
>Hi everyone!
>
>I can't figure out what is wrong with the following
>code:
>
>###################HTML TEMPLATE#####################
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
>Transitional//EN"
>"http://www.w3.org/TR/html4/loose.dtd">
>
>Welcome back ! We have let you in times!
>
>----------
>Your access is restricted to level.
>###################HTML TEMPLATE#####################
>
>###################PERL#####################
>
>#!/usr/bin/perl -w
>use strict;
>use CGI;
>use CGI::Carp qw(fatalsToBrowser);
>use HTML::Template;
>my $cgi = new CGI;
>my $template =  HTML::Template->new(filename =>
>'head.tmpl');
>print $cgi->header;
>$template ->param(user_name => 'antonis');
>$template ->param(acclevel => 'the bastard');
>$template ->param(usercount => '10');
>$template->output();
>
>###################PERL#####################
>any help!?
>
>Antonis
>
>_______________________________________________
>Athens-pm mailing list
>Athens-pm at mail.pm.org
>http://mail.pm.org/mailman/listinfo/athens-pm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/athens-pm/attachments/20030224/f19cb623/attachment.htm


More information about the Athens-pm mailing list