in reply to Adding to @INC

This is discussed here in perlvar. The short of it is using -I on the command line (perlrun) or pushing on to the array at runtime (with some additional care depending on what you are INCluding, see require).

Replies are listed 'Best First'.
Re^2: Adding to @INC
by AnomalousMonk (Archbishop) on Nov 04, 2009 at 21:02 UTC
    ... pushing on to the array at runtime ...
    The lib pragma discussed with  @INC in perlvar does this very conveniently.