Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Can't locate JSON.pm in @INC

by dwm042 (Priest)
on Feb 14, 2014 at 19:12 UTC ( [id://1074998]=note: print w/replies, xml ) Need Help??


in reply to Can't locate JSON.pm in @INC

The most likely thing to happen is that there is more than one Perl on your machine. If so, then you installed JSON in one Perl instance and were in fact using another.

This can happen when the system Perl isn't the commonly used Perl. System packages install in the system Perl.

The module library directories(locations shown via the array @INC) are separate for separate Perls. When you implemented CPAN for the Perl you are used to using, it then installed a module for the Perl you use.

Now, I haven't proven this bit of speculation, but it seems pretty logical, given the nature of your issues.

David

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1074998]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2026-05-13 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.