Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CPAN

Status
Not open for further replies.

rgoud

IS-IT--Management
May 9, 2002
21
US
Hi list,
I am trying to install HTML::Template module, If CPAN is unable to download a module, is it possible to download it and put in a location so that it can compile and install it, which location does it look for when it installs modules?.

Thanks in advance
 
Have you looked through the FAQ section or searched for posts about installing modules? There's plenty of information about manually installing modules.
 
When I had trouble installed the Net::Telnet module, I just placed the Telnet.pm file into the "Net" folder located in the "lib" folder of your perl directory. For you, you can probably paste the Template.pm file into the "HTML" folder. If the folder doesn't exist, then create it.

"Pin me. Perl me."

Regards,

Chris
 
Just download Then use tar to extract the contents. There's usually a readme file or something that tells the steps to install a module. Usually you start with perl Makefile.PL. Then you run make followed by make install. I believe these are the same steps CPAN uses to install a module.
 
And FYI, you may want to investigate HTML::Mason if you find that HTML::Template isn't doing enough for you. It's also a templating system but has many more features (which of course means its more complicated and harder to learn). Check out for more info.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top