Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: use 5.005 with perl v5.16.3

by hippo (Bishop)
on Aug 08, 2021 at 09:28 UTC ( [id://11135688]=note: print w/replies, xml ) Need Help??


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

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

Of course:

perl -E 'say qq/@INC/'

🦛

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

    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)

        First server (the one that works) has perl v5.8.8.

        The second server has perl v5.16.3.

        Output on 5.8.8:
        /perl/perl_for_siji/JSON/PP.pm:14:$JSON::PP::VERSION = '2.27200'; /perl/perl_for_siji/JSON/PP.pm:1429:$JSON::PP::IncrParser::VERSION = ' +1.01'; /perl/perl_for_siji/JSON/PP.pm:1632:=head1 VERSION ./tmp/perl_for_siji/JSON/PP.pm:14:$JSON::PP::VERSION = '2.27200'; ./tmp/perl_for_siji/JSON/PP.pm:1429:$JSON::PP::IncrParser::VERSION = ' +1.01'; ./tmp/perl_for_siji/JSON/PP.pm:1632:=head1 VERSION
        Output on 5.16.3:
        find: '/usr/local/lib64/perl5': No such file or directory find: '/usr/local/share/perl5': No such file or directory /perl/perl_for_siji/JSON/PP.pm:14:$JSON::PP::VERSION = '2.27200'; /perl/perl_for_siji/JSON/PP.pm:1429:$JSON::PP::IncrParser::VERSION = ' +1.01'; /perl/perl_for_siji/JSON/PP.pm:1632:=head1 VERSION

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-03-28 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found