This works for my setup.

$ perl -v
perl version 5.005_03 built for i386-linux
...

$ perl -e 'print join("\n",@INC),"\n";'
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005

Maybe this is a perl 5.6 thing...

Craig



On Wed, 12 Sep 2001, Doug Steinwand wrote:

> 
> 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.
> 
> 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
> >     .
> 
> I'd like to hear if others have problems with the simple test scripts.
> 
>  - doug
> 
> _______________________________________________
> templates mailing list
> [EMAIL PROTECTED]
> http://www.template-toolkit.org/mailman/listinfo/templates
> 




Reply via email to