in reply to Calculations before using lib;
(Nevermind. The script apparently doesn't know where it is relative to its lib dir. I'm not sure how that's possible. Maybe it likes to go on walks alone? Or maybe the lib dir has nothing to do with the script, so PERL5LIB should be used instead.)
Sounds to me like you could simply use
use FindBin qw($RealBin); use lib "$RealBin/../lib"; use MonkeyMan;
or
use mylib; use MonkeyMan;
|
|---|