in reply to Re^2: Can't locate Test/JSON.pm in @INC
in thread Can't locate Test/JSON.pm in @INC
If both of your custom JSON modules declare
You should, as toolic initially asserted, be able to usepackage JSON;
oruse lib '/abc/xyz';
thenuse lib ('/abc/xyz');
because as I noted earlier; the double-colon is a path/directory separator. Meaning; Test::JSON == Test/JSON.use JSON; use Test::JSON
You might also try
as that negates the need to preface a slash before your custom modules.use lib '/abc/xyz/';
In any case; you must ensure that the path to your custom JSON modules preceeds (is before) your system Perl module path.
That's why you see reference to conflicts within the system's perl, in the latest error you quoted.
--Chris
¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Can't locate Test/JSON.pm in @INC
by zuverlassig (Novice) on Dec 27, 2013 at 18:05 UTC | |
by taint (Chaplain) on Dec 27, 2013 at 18:17 UTC |