TS 6.5, Windows 2000 Server
Hi,
The following in b.ipl works fine:
use a;
but only if "a.pm" is located in the same directory as b.ipl or if a.pm is situated in one of the paths associated in
@INC.
What is the syntax for moving "a.pm" elsewhere? For example, if I want to put "a.pm" in "e:\iw-home\custom\modules\aaaa", what is the syntax for the push statement in b.ipl? I've tried the following which does not work:
BEGIN {
push (
@INC, '/iw-home/custom/modules/aaaa');
}
use a;
The following error is generated:
Can't locate a.pm in @INC (@INC contains: e:/iw-home/iw-perl/lib e:/iw-home/iw-p
erl/site/lib e:\iw-home\iw-perl\vendor\lib .) at E:\iw-home\custom\modules\b.ipl
line 4.
BEGIN failed--compilation aborted at E:\iw-home\custom\modules\b.ipl line 4.Thanks in advance.