in reply to Simple Question about use @INC

You can use @INC just like any other array and do that manually, if you wish. But you'd better
use lib;
for that!

Replies are listed 'Best First'.
Re^2: Simple Question about use @INC
by webchalkboard (Scribe) on May 23, 2005 at 10:41 UTC
Re^2: Simple Question about use @INC
by jpeg (Chaplain) on May 23, 2005 at 12:08 UTC
    why? what's different?
    --
    jpg
      You will have to put the altering of @INC into a BEGIN{}-block. Otherwise it will happen at runtime and therefore be rather useless.

      Also, use lib qw(path); looks nicer.


      holli, /regexed monk/