diff --git a/Build.PL b/Build.PL index 9a38f522..415d4b0a 100644 --- a/Build.PL +++ b/Build.PL @@ -40,7 +40,7 @@ my %module_build_args = ( "Hash::Merge::Simple" => 0, "IO::Handle::Util" => "0.01", "LWP::UserAgent" => 0, - "List::MoreUtils" => "0.401", + "List::SomeUtils" => "0", "Log::Any" => 0, "Log::Any::Adapter" => 0, "MIME::Types" => 0, diff --git a/cpanfile b/cpanfile index 6de44f62..1038e1da 100644 --- a/cpanfile +++ b/cpanfile @@ -32,7 +32,7 @@ requires 'HTTP::Request', 0; requires 'Hash::Merge::Simple', 0; requires 'IO::Handle::Util', '0.01'; requires 'LWP::UserAgent', 0; -requires 'List::MoreUtils', '0.401'; +requires 'List::SomeUtils', 0; requires 'Log::Any', 0; requires 'Log::Any::Adapter', 0; requires 'MIME::Types',0; diff --git a/lib/Catmandu/Fix/Condition/Builder/Simple.pm b/lib/Catmandu/Fix/Condition/Builder/Simple.pm index 08f552be..d36c8c9b 100644 --- a/lib/Catmandu/Fix/Condition/Builder/Simple.pm +++ b/lib/Catmandu/Fix/Condition/Builder/Simple.pm @@ -4,7 +4,7 @@ use Catmandu::Sane; our $VERSION = '1.2022'; -use List::MoreUtils qw(all_u any); +use List::SomeUtils qw(all_u any); use Catmandu::Util::Path qw(as_path); use Moo::Role; use namespace::clean; diff --git a/lib/Catmandu/Fix/index.pm b/lib/Catmandu/Fix/index.pm index a4c7686f..1f3ee47a 100644 --- a/lib/Catmandu/Fix/index.pm +++ b/lib/Catmandu/Fix/index.pm @@ -6,7 +6,7 @@ our $VERSION = '1.2022'; use Moo; use Catmandu::Util::Path qw(as_path); -use List::MoreUtils qw(indexes first_index); +use List::SomeUtils qw(indexes first_index); use namespace::clean; use Catmandu::Fix::Has; diff --git a/lib/Catmandu/Fix/sort_field.pm b/lib/Catmandu/Fix/sort_field.pm index 4adbb488..dbde421b 100644 --- a/lib/Catmandu/Fix/sort_field.pm +++ b/lib/Catmandu/Fix/sort_field.pm @@ -4,7 +4,7 @@ use Catmandu::Sane; our $VERSION = '1.2022'; -use List::MoreUtils qw(uniq); +use List::SomeUtils qw(uniq); use Catmandu::Util::Path qw(as_path); use Moo; use namespace::clean; diff --git a/lib/Catmandu/Fix/uniq.pm b/lib/Catmandu/Fix/uniq.pm index 8f58755b..32d0a5e1 100644 --- a/lib/Catmandu/Fix/uniq.pm +++ b/lib/Catmandu/Fix/uniq.pm @@ -4,7 +4,7 @@ use Catmandu::Sane; our $VERSION = '1.2022'; -use List::MoreUtils qw(uniq); +use List::SomeUtils qw(uniq); use Catmandu::Util::Path qw(as_path); use Moo; use namespace::clean; @@ -19,7 +19,7 @@ sub _build_fixer { as_path($self->path)->updater( if_array_ref => sub { no warnings 'uninitialized'; - [List::MoreUtils::uniq(@{$_[0]})]; + [List::SomeUtils::uniq(@{$_[0]})]; } ); }