in reply to Percedence of -I, use Lib, @INC

There is a way for your custom module directory to be searched first.
For this purpose you may manipulate @INC in the following way:
BEGIN { unshift @INC, 'your_lib_dir_here'; }

Replies are listed 'Best First'.
Re^2: Percedence of -I, use Lib, @INC
by ikegami (Patriarch) on Aug 21, 2007 at 13:47 UTC

    That's just a bad way of doing use lib 'your_lib_dir_here';.

Re^2: Percedence of -I, use Lib, @INC
by Anonymous Monk on Aug 20, 2007 at 17:52 UTC
    I am enlightened Thanks to both the above replies.