in reply to Can't locate Test/JSON.pm in @INC
Greetings, zuverlassig.
As a rule, I'd have to say toolic is right. I'm inclined to think you might be experiencing a namespace-clash. I don't suppose you're calling the lib relative to your script, are you? It would make it easier to diagnose, implement. In any case, given that you're using two Modules with the same name, and that they generally have a PACKAGE declaration at, or near the top. How are yours defined? In other words; can you post the declarations you're using in your JSON modules? eg;
Given that traditionally the double-colon is used as a path separator. I suspect you're declarations are incorrect; Test::JSON assumes Test/JSONpackage JSON;
--Chris
UPDATE: Given you didn't share the actual error. I don't suppose it (Perl) was trying to find Test/Test/JSON, was/did it?¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Can't locate Test/JSON.pm in @INC
by zuverlassig (Novice) on Dec 27, 2013 at 17:34 UTC | |
by taint (Chaplain) on Dec 27, 2013 at 17:49 UTC | |
by zuverlassig (Novice) on Dec 27, 2013 at 18:05 UTC | |
by taint (Chaplain) on Dec 27, 2013 at 18:17 UTC |
In Section
Seekers of Perl Wisdom