Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: use 5.005 with perl v5.16.3

by sijaanh (Initiate)
on Aug 08, 2021 at 09:25 UTC ( [id://11135687]=note: print w/replies, xml ) Need Help??


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

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?

Replies are listed 'Best First'.
Re^5: use 5.005 with perl v5.16.3
by hippo (Bishop) on Aug 08, 2021 at 09:28 UTC
    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??

        You said you have different Perl versions on each server but you haven't said what they are. Could you please post the output of perl -V from each server, as well as the output of find /perl/perl_for_siji `perl -e 'print "@INC"'` -path '*JSON/PP.pm' -exec grep -Hn VERSION '{}' + from each server? (both inside <code> tags)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found