in reply to Simple Question about use @INC

BEGIN{ push @INC, "path"; } or use lib qw(path);


holli, /regexed monk/

Replies are listed 'Best First'.
Re^2: Simple Question about use @INC
by ihb (Deacon) on May 26, 2005 at 08:03 UTC

    Note that lib.pm unshift()s the path, and also removes any duplicate entries.

    ihb

    See perltoc if you don't know which perldoc to read!