Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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

Replies are listed 'Best First'.
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 wandering the Monastery: (14)
As of 2016-06-27 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (340 votes). Check out past polls.