Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (18)
As of 2015-03-26 19:51 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (595 votes), past polls