Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by LanX (Bishop)
on Jun 18, 2017 at 02:18 UTC ( #1193032=note: print w/replies, xml ) Need Help??


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

Yes there is precedence in @INC, see lib pragma to manipulate it

Please try print  $List::Util::VERSION;   to be sure about the version.

You don't tell us into which directory you installed the module, but ../files/lib looks weird.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^2: System vs. User module version of List::Util
by Lady_Aleena (Curate) on Jun 18, 2017 at 05:56 UTC

    At the command line, it says 1.45 for $List::Util::VERSION

    I don't don't know which directory List::Util was installed into.

    ../files/lib is where the modules I wrote are.

    No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
    Lady Aleena
      I don't don't know which directory List::Util was installed into.

      At the shell prompt:

      $ locate List/Util.pm /usr/lib64/perl5/vendor_perl/List/Util.pm $

      You should expect to have at least 2 entries - one being the system version and one being your manually installed version.

        Well, that worked locally...

        me@office:~$ locate List/Util.pm /home/me/.cpan/build/ExtUtils-MakeMaker-7.24-adRDIa/bundled/Scalar-Lis +t-Utils/List/Util.pm /home/me/.cpan/build/Scalar-List-Utils-1.45-zv9hHr/blib/lib/List/Util. +pm /home/me/.cpan/build/Scalar-List-Utils-1.45-zv9hHr/lib/List/Util.pm /home/me/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm /usr/lib/x86_64-linux-gnu/perl/5.20.2/List/Util.pm

        but not remotely...

        fantasy@fantasy.xecu.net [~]# locate List/Util.pm -bash: locate: command not found
        No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
        Lady Aleena
      Maybe try perldoc -l List::Util

      Normally the path of the doc is the same.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1193032]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2018-06-22 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (122 votes). Check out past polls.

    Notices?