in reply to
Can't locate Modules/test.pm in @INC
use
happens at compile-time, before your
push
is executed. Put the code that sets $SOURCE_ROOT and the push in a BEGIN block so it is takes effect before the use.
I'm
looking for a job
.
Comment on
Re: Can't locate Modules/test.pm in @INC
In Section
Seekers of Perl Wisdom