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.
/www/fantasy/perl5/lib/perl5/5.24.1/x86_64-linux-64int /www/fantasy/perl5/lib/perl5/5.24.1 /www/fantasy/perl5/lib/perl5/x86_64-linux-64int /www/fantasy/perl5/lib/perl5 /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linu +x-64int /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1/x86_64-linux-64 +int /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/5.24.1 /opt/cpanel/perl5/524/site_lib/x86_64-linux-64int /opt/cpanel/perl5/524/site_lib
Here is my @INC from the browser, and it has my user directories first, so that makes this so much more confusing.
../files/lib /www/fantasy/perl5/lib/perl5 /www/fantasy/perl5/lib/perl5/x86_64-linux-thread-multi /www/fantasy/perl/usr/local/lib/perl5/5.8.8/x86_64-linux /www/fantasy/perl/usr/local/lib/perl5/5.8.8 /www/fantasy/perl/usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /www/fantasy/perl/usr/local/lib/perl5/site_perl/5.8.8 /www/fantasy/perl/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .
Any and all help is appreciated.
In reply to System vs. User module version of List::Util by Lady_Aleena
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |