lib - manipulate @INC at compile time
DESCRIPTION
This is a small simple module which simplifies the manipulation of @INC at compile time.
It is typically used to add extra directories to perl's search path so that later use
or require
statements will find modules which are not located on perl's default search path.
Adding directories to @INC
The parameters to use lib
are added to the start of the perl search path. Saying
is almost the same as saying
The lib.pm pragmatic module was first included with the 5.002 release of Perl.
- BEGIN { unshift(@INC, LIST) }