Perl problems...
Ben Pfaff
pfaffben@msu.edu
03 Apr 2000 16:26:52 -0400
Edward Glowacki <glowack2@key-largo.cl.msu.edu> writes:
> Hmm... interesting... that seems to help a lot, now just have
> to find a good way to get those paths in the include
> path... tried adding spaces before the -I's to push them past
> the 32 char limit, but it didn't seem to work right...
What's wrong with "use lib '/include/path/here';"?
>From perlvar(1p):
@INC The array @INC contains the list of places to look
for Perl scripts to be evaluated by the do EXPR,
require, or use constructs. It initially consists
of the arguments to any -I command line switches,
followed by the default Perl library, probably
/usr/local/lib/perl, followed by ".", to represent
the current directory. If you need to modify this
at runtime, you should use the use lib pragma to
get the machine-dependent library properly loaded
also:
use lib '/mypath/libdir/';
use SomeMod;