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
