Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Perl (http://www.programmingforums.org/forum21.html)
-   -   IRC.pm (http://www.programmingforums.org/showthread.php?t=3104)

troubleshooter Apr 4th, 2005 5:53 PM

IRC.pm
 
im having problems using this module. the only shell i can use i dont have root permission to so i cant install the module. so is there anyway to make perl look in my homefolder for it instead of /etc/perl /lib/perl etc etc.

thanks

mackenga May 4th, 2005 9:47 AM

Yeah. If I remember correctly, you can just add the path you want to to search to @INC. I could be wrong, but since nobody else has answered I thought I might as well.

Hope this helps.

prolog Jul 26th, 2005 2:33 AM

Quote:

Originally Posted by mackenga
Yeah. If I remember correctly, you can just add the path you want to to search to @INC. I could be wrong ....

But you are not. One can simply push a new path into the INC-array. But u must do this right before your use-directive.

Regards


All times are GMT -5. The time now is 6:15 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC