Hi Wade:
I tried that revision, but it made no difference.
Fraser
----- Original Message -----
From: "G. Wade Johnson" <[email protected]>
To: <[email protected]>
Sent: Thursday, February 13, 2014 11:33 AM
Subject: Re: [pm-h] Another mod_perl issue I can't resolve
On Thu, 13 Feb 2014 10:35:45 -0600
"Fraser Baker" <[email protected]> wrote:
Hi:
My call to calendar.cgi works without mod_perl, but fails when
mod_perl is running.
Apache error message
Can't locate object method "initialize" via package "HTML::Template"
at D:/www/wc-admin.com/cgi-bin/event_calendar/calendar.cgi line
133.\n
calendar.cgi lines
use HTML::template;
Line 133 is: my $tmpl =
HTML::Template->initialize( $directives->{'template'} ||
'template.html' );
I can't figure this out. Anyone have any ideas?
"HTML::template" should be "HTML::Template"
The case matters. I vaguely remember having problems long ago with
Windows case-folding for file lookup, and leaving the package namespace
wrong.
G. Wade
--
90% of coding is debugging. The other 10% is writing bugs.
-- Bram Cohen
_______________________________________________
Houston mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/houston
Website: http://houston.pm.org/
_______________________________________________
Houston mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/houston
Website: http://houston.pm.org/