<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>

<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Amigos estou com problemas com template, <BR>&nbsp;<BR>estou usando esse codigo para estudo<BR>&nbsp;<BR>#!/usr/bin/perl -wT<BR>&nbsp;<BR>use CGI::Carp qw(fatalsToBrowser);<BR>use strict;<BR><BR>use HTML::Template;<BR>&nbsp;<BR>use constant TMPL_FILE =&gt; "$ENV{DOCUMENT_ROOT}/templates/current_time.tmpl";<BR>&nbsp;<BR>my $tmpl = new HTML::Template( filename =&gt; TMPL_FILE );<BR>my $time = localtime;<BR>&nbsp;<BR>$tmpl-&gt;param( current_time =&gt; $time );<BR>&nbsp;<BR>print "Content-type: text/html\n\n",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $tmpl-&gt;output;<BR><BR>&nbsp;<BR>&nbsp;<BR>arquivo current_time.tmpl<BR>&nbsp;<BR>&lt;HTML&gt;<BR>&lt;HEAD&gt;<BR>&nbsp; &lt;TITLE&gt;Current Time&lt;/TITLE&gt;<BR>&lt;/HEAD&gt;<BR>&lt;BODY BGCOLOR="white"&gt;<BR>&nbsp; &lt;H1&gt;Current Time&lt;/H1&gt;<BR>&nbsp; &lt;P&gt;Welcome. The current time is &lt;TMPL_VAR NAME="current_time"&gt;.&lt;/P&gt;<BR>&lt;/BODY&gt;<BR>&lt;/HTML&gt;<BR>&nbsp;<BR>&nbsp;<BR>porem esta dando esse erro:<BR>&nbsp;<BR>Can't locate HTML/Template.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at current_time.cgi line 5.<BR>BEGIN failed--compilation aborted at current_time.cgi line 5.<BR>&nbsp;<BR>&nbsp;<BR>&nbsp;<BR>Obrigado e ate mais...<BR>                                               <br /><hr />Voeg  eenvoudig je Hyves vrienden toe aan je  <a href='http://www.microsoft.com/netherlands/windowslive/Views/productdetail.aspx?product=MessengerHyves&WT.mc_id=msn3' target='_new'>Hotmail en Messenger.</a></body>
</html>