John Polling scribbled on 4/25/07 5:32 AM:
> I am using the latest windows build swish-e-2.4.5-win32.exe with the
> latest version of ActiveState perl
that's really the latest version? Perl is up at 5.8.8 (at least) now.
But that's not your problem.
> My error was this:
> Can't locate Template.pm in @INC (@INC contains:
> C:\SWISH-E\lib\swish-e\perl C:/Perl/lib C:/Perl/site/lib .) at
> C:\SWISH-E\lib\swish-e\perl/SWISH/TemplateToolkit.pm line 9.
> To fix this I had to add the line following line into the swish.cgi
> use lib ( 'C:\Perl\Site\Lib\HTML' );
you want Template::Toolkit, not HTML::Template, if you are using the
TemplateToolkit.pm file with Swish-e.
There are several different Perl templating modules; Swish-e provides a couple
different examples with swish.cgi.
Try installing Template::Toolkit via the ActiveState CPAN manager.
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Users mailing list
Received on Wed Apr 25 07:18:33 2007