Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Dancer2: Why is bundled 'lib/' required?by kcott (Archbishop) |
on Feb 02, 2022 at 03:49 UTC ( [id://11141047]=note: print w/replies, xml ) | Need Help?? |
G'day bliako, Both Private::Work::Module and Private::OtherWork::OtherModule are in the same "@INC" directory. Dancer2 finds the latter but not the former. Why would it find one but not the other? I thought you might be on to something with FindBin but a few tests indicate that's not the case. If /path/to/bin/../lib doesn't exist, it still gets prepended to @INC. Having a non-existent directory in @INC does not cause Perl any problems.
Thanks for the suggestions anyway. — Ken
In Section
Seekers of Perl Wisdom
|
|