Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: System vs. User module version of List::Util

by ikegami (Patriarch)
on Jun 20, 2017 at 01:47 UTC ( [id://1193120]=note: print w/replies, xml ) Need Help??


in reply to System vs. User module version of List::Util

L::U is an arch-specific module (because it has a binary component), so the new version is probably installed in a directory that contains 5.24.1/x86_64-linux-64int in its path. The much older Perl you use via "your browser" won't look in that directory because it only contains modules it can't load.

You verify this using

use List::Util; print $INC{"List/Util.pm"}, "\n";

That said, why are testing using one build of perl, and running using another? That makes no sense. Fix your shebang line, and your problem will be solved.

Log In?
Username:
Password:

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

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

    No recent polls found