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
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