Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Changing @INC path detail

by gamache (Friar)
on Dec 05, 2007 at 20:36 UTC ( [id://655215] : note . print w/replies, xml ) Need Help??


in reply to Changing @INC path detail

The preferred way to add directories to @INC is like this:
use lib qw(/path/to/dir1 /path/to/dir2 ...);

There's documentation here.