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

Hi Monks
I need to install and I don't have access because I am at the mercy of my ISP the Perl Module called HTML::BBCode.
Can anyone tell me if I could have it in my own directory and called it from my program instead of waiting for the people at hosting company to respond to my request?
Thanks for the Help!

Replies are listed 'Best First'.
Re: Local Module
by ptum (Priest) on May 18, 2006 at 19:33 UTC

    You surely can. Just plop the new module somewhere like '/my_home_dir/perl_lib/HTML/BBCode.pm' and add an instruction to find it in your code, like this:

    use lib '/my_home_dir/perl_lib'; use HTML::BBCode;

    No good deed goes unpunished. -- (attributed to) Oscar Wilde
Re: Local Module
by HuckinFappy (Pilgrim) on May 18, 2006 at 19:43 UTC