OK:
For the server that is NOT running mod_perl
INCLUDED DATA ARRAY is
Term is C:/Perl/site/lib
Term is C:/Perl/lib
Term is .
For the server that IS running mod_perl
INCLUDED DATA ARRAY is
Term is D:/www/wc-admin.com/cgi-bin
Term is C:/Perl/site/lib
Term is C:/Perl/lib
Term is .
Term is C:/Program Files/Apache Software Foundation/Apache2.2
I don't see anything here. Where to go from here?
Fraser
----- Original Message -----
From: "G. Wade Johnson" <[email protected]>
To: <[email protected]>
Sent: Friday, April 25, 2014 11:25 AM
Subject: Re: [pm-h] mod perl and calendar.cgi
On Fri, 25 Apr 2014 08:23:59 -0500
"Fraser Baker" <[email protected]> wrote:
Hi Brett:
Turns out that for the mod_perl server, there are some 165 entries in
%INC whereas for the not mod-perl server there is only one.
Hi Fraser,
There are 2 different things here.
@INC contains a list of directories that perl searches for modules.
%INC contains entries for each module that is loaded.
I believe the suggestion was to check @INC to see if a module is loaded
from a location you are not expecting.
G. Wade
The %ENV is larger by about 5 entries on the mod_perl machine.
OK, where do I go from here.
Fraser
----- Original Message -----
From: "B. Estrade" <[email protected]>
To: "Houston.pm located in Houston, TX." <[email protected]>
Sent: Tuesday, April 22, 2014 10:15 AM
Subject: Re: [pm-h] mod perl and calendar.cgi
> Just a hunch, but I'd look to see how mod_perl affected your
> environment. namely @INC.
>
> Brett
>
> On Tue, Apr 22, 2014 at 9:47 AM, Fraser Baker
> <[email protected]> wrote:
>> 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
>>
>>
>>
>> _______________________________________________
>> 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/
_______________________________________________
Houston mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/houston
Website: http://houston.pm.org/
--
Never express yourself more clearly than you think. -- Niels Bohr
_______________________________________________
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/