mikeirw has asked for the wisdom of the Perl Monks concerning the following question:
Let's say I have placed 'SomeModule.pm' in '/home/mikeirw/lib/SomeDir' and do:
use lib '/home/mikeirw/lib'; use SomeDir::SomeModule;
... perl does not find the module. If I just place the module directly in '/home/mikeirw/lib', the module is found. Am I missing something here? perldoc lib doesn't reveal any clues.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: `use lib' confusion
by Aristotle (Chancellor) on Nov 16, 2002 at 22:04 UTC | |
by mikeirw (Pilgrim) on Nov 16, 2002 at 22:15 UTC | |
by Aristotle (Chancellor) on Nov 16, 2002 at 22:24 UTC | |
Re: `use lib' confusion
by pg (Canon) on Nov 16, 2002 at 22:16 UTC | |
Re: `use lib' confusion
by mikeirw (Pilgrim) on Nov 16, 2002 at 22:34 UTC |
Back to
Seekers of Perl Wisdom