Subject: | import clashes |
Date: | Mon, 14 Oct 2013 11:00:07 +0100 |
To: | bug-List-AllUtils [...] rt.cpan.org |
From: | Zefram <zefram [...] fysh.org> |
List::Util now provides some of the functions that List::MoreUtils
provides. This causes a clash when importing into List::AllUtils:
$ perl -w -MList::AllUtils -e1
Subroutine List::AllUtils::none redefined at /opt/perl-5.18.1/lib/site_perl/5.18.1/List/AllUtils.pm line 18.
Subroutine List::AllUtils::all redefined at /opt/perl-5.18.1/lib/site_perl/5.18.1/List/AllUtils.pm line 18.
Subroutine List::AllUtils::notall redefined at /opt/perl-5.18.1/lib/site_perl/5.18.1/List/AllUtils.pm line 18.
Subroutine List::AllUtils::any redefined at /opt/perl-5.18.1/lib/site_perl/5.18.1/List/AllUtils.pm line 18.
List::AllUtils should use explicit import lists, rather than just the
@EXPORT_OK lists from L:U and L:MU.
-zefram