This is necessary because use is a compile-term directive. From the use docs, you find that use Module is exactly equivalent toBEGIN { unshift @INC, "/temp/packdir"; }
BEGIN { require Module; import Module LIST; }
In reply to Re: unshift onto @INC
by btrott
in thread unshift onto @INC
by PegLeg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |