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
push
ing on to the array at runtime (with some additional care depending on what you are INCluding, see
require
).
Comment on
Re: Adding to @INC
Replies are listed 'Best First'.
Re^2: Adding to @INC
by
AnomalousMonk
(Archbishop)
on Nov 04, 2009 at 21:02 UTC
...
push
ing on to the array at runtime ...
The
lib
pragma discussed with
@INC
in
perlvar
does this very conveniently.
[reply]
[d/l]
In Section
Seekers of Perl Wisdom