Can I use a local::lib if local::lib isn't installed globally and without eval-ing it in shell?

Posted by xenoterracide on Stack Overflow See other posts from Stack Overflow or by xenoterracide
Published on 2011-01-12T05:55:53Z Indexed on 2011/01/12 7:53 UTC
Read the original article Hit count: 173

Filed under:
|

I have a problem, I want to use local::lib; in a script. But because I need to use this script many places, I don't want to try adding the eval to bashrc, every time I install this script to a server. and I can't get local::lib installed globally (in the default @INC) on the servers. Is there any way I can use local::lib from within the script so that it knows where the module local::lib is without the eval that local::lib recommends and without installing it into a directory in the default @INC on the server?

© Stack Overflow or respective owner

Related posts about perl

Related posts about locallib