in reply to Newbie - Changing @INC
It is important that you do it within a BEGIN block because all use statements are processed before the rest of the program; An exception to this are BEGIN blocks.BEGIN { unshift(@INC, 'the/path/you/want'); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Newbie - Changing @INC
by dculpSC (Initiate) on Aug 23, 2001 at 19:44 UTC | |
by Sifmole (Chaplain) on Aug 23, 2001 at 22:08 UTC |