Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: use 5.005 with perl v5.16.3

by haukex (Archbishop)
on Aug 08, 2021 at 08:49 UTC ( [id://11135686]=note: print w/replies, xml ) Need Help??


in reply to Re^2: use 5.005 with perl v5.16.3
in thread use 5.005 with perl v5.16.3

That means you've got two (probably different) versions of JSON in /perl/perl_for_siji and in the standard library locations (@INC), and the one in /perl/perl_for_siji appears to be broken somehow. There are different ways to try and debug and fix this, however, it's unclear to me why you even need libraries from /perl/perl_for_siji, so you'd need to explain your installation more for us to be able to give good advice.

Replies are listed 'Best First'.
Re^4: use 5.005 with perl v5.16.3
by sijaanh (Initiate) on Aug 08, 2021 at 09:25 UTC

    The script is a big script which wasnt written all by me. So I dont know for which purpose they need libraries from  /perl/perl_for_siji/, but they do. This issue doesnt appear in a different server which has a differernt perl and maybe a different @INC? How can I debug this? Is there a way to see what is in the @INC list?

      Is there a way to see what is in the @INC list?

      Of course:

      perl -E 'say qq/@INC/'

      🦛

        Thanks for your answer

        . It appears I have a tottaly different libraries under @INC in each server. Could this be why its working on the first but not on the second??

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2024-03-28 23:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found