Think about Loose Coupling | |
PerlMonks |
Re: problem with INCby ysth (Canon) |
on Jan 21, 2004 at 16:14 UTC ( [id://322925]=note: print w/replies, xml ) | Need Help?? |
The push(@INC...) happens when your script is running, but the use kp1 happens at compile time, when @INC is not yet set. Two ways to fix it:
or
In Section
Seekers of Perl Wisdom
|
|