[pm-h] mod perl and calendar.cgi

Fraser Baker flbaker at sbcglobal.net
Tue Apr 22 07:47:03 PDT 2014


Hi y'all:

Before I added mod-perl, calendar.cgi worked.

After mod perl I get this error:

[Tue Apr 22 09:28:35 2014] [error] Can't locate object method "initialize" via package "HTML::Template" at D:/www/wc-admin.com/cgi-bin/event_calendar/calendar.cgi line 131.\n 


The offending line in calendar.cgi is:
my $tmpl = HTML::Template->initialize( $directives->{'template'} || 'template.html' );


I searched template.pm and don't find a function named initialize. I do find

# initialize the template buffer
sub _init_template {

How do I fix this?

Fraser


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/houston/attachments/20140422/7d6136d6/attachment.html>


More information about the Houston mailing list