|Perl: the Markov chain saw|
System vs. User module version of List::Utilby Lady_Aleena (Curate)
|on Jun 18, 2017 at 01:12 UTC||Need Help??|
Lady_Aleena has asked for the
wisdom of the Perl Monks concerning the following question:
Hello. List::Util is a core module, but the system version has not been updated since 1.27. So I installed it in my user directory, and it is version 1.47. However, I am getting an error that uniq is not exported by List::Util. According to the docs, List::Util has had uniq since version 1.45. So, what do I do to get the system to look at the user installed List::Util instead of the system installed List::Util? Is there precedence in @INC? Do I have to beg the system administrators to update their List::Util?
I went to the command line and read the perldoc for List::Util, and perldoc brought up the docs for 1.47 not 1.27. I am confused by that a bit.
Here is my @INC from the command line, and it has my user directories first, so that makes this even more confusing.
Here is my @INC from the browser, and it has my user directories first, so that makes this so much more confusing.
Any and all help is appreciated.
No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!