Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello oh great Perl Monks. I have a dilemma.
Since I am using a server that doesn't have the module HTML::Template (by the great Sam Treger), is there a way I can add one of my directories to the search path of the Perl interpreter? Could I add a directory path to @INC?

Replies are listed 'Best First'.
Re: Putting a directory in the search path
by Kanji (Parson) on May 14, 2002 at 01:37 UTC
Re: Putting a directory in the search path
by cLive ;-) (Prior) on May 14, 2002 at 01:48 UTC
    If you're installing the module using Makefile, you may also need to add the prefix of the dir explicitly:
    perl Makefile.PL PREFIX=/your/home/dir/lib
    for it to install correctly.

    cLive ;-)

    --
    seek(JOB,$$LA,0);