Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
I have a directory tree: /foo/bar/share/bin /foo/bar/share/lib In a perl script, I have use Options; Where Options.pm is in /foo/bar/share/lib I can solve the problem by adding use lib /foo/bar/share/lib; But, these are standard scripts that I don't really have the authority to change. If I don't have the use lib, I get... Can't locate Options.pm in @INC (@INC contains:.....) Obviously this is set by either a Perl command line flag or environment variable. I have looked in programming Perl book, but have not found it yet. Note that these are scripts that must be in a specific directory tree and are usually called via a rather complex make, so I don't have the luxury of moving the perl modules elsewhere. -- Jerry Feldman <gaf at blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |