Re: [htmltmpl] Is HTML::Template pure Perl?
Brought to you by:
samtregar
From: Carl F. <C.A...@du...> - 2004-08-02 08:15:20
|
Hi Dan, Yes, HTML::Template is pure perl. To figure out if any other module is pure perl, search for it on search.cpan.org Then follow the link with the module version number (e.g. HTML-Template-2.7). Then click on the [Browse] link to view the modules' files. If there are no *.xs *.c or *.h files and no 'b' folder, then the module is probably pure perl. For HTML::Template, you could create a folder in your home directory called (for example) 'lib' and then copy the Template.pm file into 'lib/HTML/Template.pm'. With shared hosting, you may be unable to change environment variables, in which case you could use the 'use lib' command, eg: use lib "/home/dan/lib"; Hope this helps, Carl Carl Franks Web Developer Computer And Media Services Level 8 Ninewells Hospital Faculty of Medicine, Dentistry & Nursing University of Dundee ext 35508 >>> "Dan Horne" <dan...@re...> 02/08/2004 05:00:39 >>> Hi all I'm looking for an HTML templating system that is pure Perl. The reason is that I need a templating package that can be installed on shared hosts without requiring the hosting service administrators to compile anything. I'm after something that is OS agnostic, so if I use it with a cgi app it would run on Windows, UNIX, Apache, IIS, etc. I'm kind of hoping that I can copy the root tree and set my PERL5LIB variable apprpriately. Does HTML::Template fit the bill? Regards Dan |