Doug Steinwand <[EMAIL PROTECTED]> writes: > Hmmm... both examples work fine for me (FreeBSD 4.4-RC, Perl 5.005_03). > > Make sure that your @INC doesn't have multiple versions of Template > installed. The XS versions of Template may be installed in an > architecture-dependent library path (one with i386-linux in it) while > earlier, non-XS versions would be installed in an independent path.
The XS code is placed in /usr/local/lib/perl/5.6.1 and that's first on the list. The old Template is installed in /usr/local/share/perl/5.6.1.. No problem there... > Also, your @INC includes both perl 5.005 and 5.6.x in it. That could > cause problems. > > > @INC: > > /usr/local/lib/perl/5.6.1 > > /usr/local/share/perl/5.6.1 > > /usr/lib/perl5 > > /usr/share/perl5 > > /usr/lib/perl/5.6.1 > > /usr/share/perl/5.6.1 > > /usr/local/lib/site_perl > > /usr/lib/perl5/5.6/i386-linux > > /usr/lib/perl5/5.6 > > /usr/lib/perl5/5.005/i386-linux > > /usr/lib/perl5/5.005 > > . The @INC path is standard in Debian. It's intended to smoth upgrade from previous versions and directory layouts.. -- / Jonas - http://jonas.liljegren.org/myself/en/index.html
