Here's a really brain dead example:

#################################
sub report_dump {
   my $self = shift;
   my $out = Dumper $RCF{report_defs};

   my $t = $self->load_tmpl('simpleText.tmpl',die_on_bad_params=>0);
   $t->param( output_text       =>      $out,);
   return $t->output;
}

simpleText.tmpl

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<pre>

<!-- tmpl_var output_text  -->

</pre>
</body>
</html>


-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of Robert
Sent: Tuesday, August 03, 2004 12:49 PM
To: [EMAIL PROTECTED]
Subject: [cgiapp] Simple form example using both C-A and H-T?


I see how it is done with using only C-A. But I am having a disconnect on
integrating H-T into the picture. Could someone post a simple example? If I
see an example I can run with the rest.

Robert




---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to