Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: HTML::Template

by George_Sherston (Vicar)
on Sep 13, 2001 at 19:12 UTC ( #112208=note: print w/ replies, xml ) Need Help??


in reply to HTML::Template

Get a copy from CPAN, then save it in a directory you do have access to and put

BEGIN {unshift @INC, 'path'}
at the start of your script, where "path" is the filepath from where your script is to the directory where you installed the module. @INC contains tells perl where to look for modules that you use, so after you've done that you should be able to call the module the same way you call pre-installed modules.

Hope that works for you the way it works for me!

George Sherston


Comment on Re: HTML::Template
Select or Download Code
Re: Re: HTML::Template
by davorg (Chancellor) on Sep 13, 2001 at 19:24 UTC
      Yes, and as princepawn /msg'd me, it also gives access to modules in sub paths, so all round a better answer. Just goes to show, new lessons to be had everywhere :)

      George Sherston

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://112208]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-09-20 11:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (158 votes), past polls