[Templates] Couldn't load Template::Stash::XS 2.08:

Drew Taylor drew@drewtaylor.com
Thu, 05 Sep 2002 09:54:58 -0400


When I recently upgraded our dev server to 2.08 I had the same problem. I 
had installed TT via the CPAN module, so I went ahead and reinstalled it 
manually just to be sure. It didn't appear to write any new files. But when 
I restarted Apache/mod_perl it worked great again. So I suspect that in my 
case Apache and/or mod_perl was holding onto the old version, and by 
restarting I forced a reload of the so file. I also just checked and I am 
not preloading Template.pm via startup.pl.

Drew

At 12:06 PM 9/4/02 +0100, Andrew McFarland wrote:
>I'm having a problem with the following script, which works on my 
>development box (Debian) but not on my live webserver (Red Hat):
>
>#!/usr/bin/perl -w
>use Template;
>my $aam= Template->new({INCLUDE_PATH => '/home/andrew/webget'}) || die;
>
>When run, the following output is produced:
>
>[andrew@caspian andrew]$ web/aamcf.co.uk/public_html/tidy/tidy.cgi
>Couldn't load Template::Stash::XS 2.08:
>
>Can't locate loadable object for module Template::Stash::XS in @INC (@INC 
>contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 
>/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 
>/usr/lib/perl5/site_perl .) at 
>/usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 27

--
Drew Taylor                | Web development & consulting
http://www.drewtaylor.com/ | perl/mod_perl/DBI/mysql/postgres
----------------------------------------------------------------------
"If you don't know what your program is supposed to do,
you'd better not start writing it."  -Edsger Dijkstra
----------------------------------------------------------------------
Speakeasy.net DSL - http://www.speakeasy.net/refer/29655