Yes you'll need the 'use lib /path/to/wherever' in your script. This tells Perl to add this path to @INC so it will then look there for modules.
As for moving the libraries, it *might work. But there are several things that can go wrong when doing that, so it's best to just rebuild the module on the local box to avoid those issues. Unless of course like actually enjoy doing things the hard way and creating more work for yourself!
Frank Wiles <frank@revsys.com>
www.revsys.com
In reply to Re^3: Couldn't find gmp library after moving perl module
by ides
in thread Couldn't find gmp library after moving perl module
by helenocean
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |