Hello again,
thx to all who sent me a mail with hepl ... but i've still a problem
to get the Module to work. That is, what i try to use:
---- snipp ---------------------
#!/usr/bin/perl
if ($0=~m#^(.*)\\#){ $cgidir = "$1"; }
elsif ($0=~m#^(.*)/# ){ $cgidir = "$1"; }
else {`pwd` =~ /(.*)/; $cgidir = "$1"; }
use lib '/usr/local/etc/httpd/htdocs/htmltest/cgi-bin';
use HTML::Template;
my $template = HTML::Template->new(filename => 'html_template.tmpl');
$template->param(vorname => "Johannes");
$template->param(name => "Gamperl");
print "Content-type: text/html\n\n";
print $template->output;
exit;
---- snipp ---------------------
The Template.pm is in the cgi-bin directory of my root (the path in
lib ..) .. the html_template.tmpl in the same directory.
any ideas to get the skript to work?
thx a lot
Hannes
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]