diff options
author | Russ Allbery <rra@cpan.org> | 2020-07-04 16:49:29 -0700 |
---|---|---|
committer | Russ Allbery <rra@cpan.org> | 2020-07-04 16:49:29 -0700 |
commit | 51fb7da764c44f5e40e52ac35673e887d42f0895 (patch) | |
tree | b809696d552b5e89e8e2b3918cce35fbf1a7a0b6 | |
parent | 08669ed5286996d5ebca112b6f213f8e1d05b1c6 (diff) |
Use List::SomeUtils and List::Util
Replace List::MoreUtils with List::SomeUtils and List::Util, as
recommended by Perl::Critic::Freenode.
-rw-r--r-- | Build.PL | 2 | ||||
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | cpanfile | 2 | ||||
-rw-r--r-- | docs/metadata/requirements | 2 | ||||
-rw-r--r-- | lib/App/DocKnot/Dist.pm | 3 | ||||
-rw-r--r-- | t/data/generate/docknot/output/thread | 2 |
8 files changed, 10 insertions, 8 deletions
@@ -69,7 +69,7 @@ my $build = Module::Build->new( 'IPC::Run' => 0, 'IPC::System::Simple' => 0, 'JSON::MaybeXS' => 0, - 'List::MoreUtils' => 0, + 'List::SomeUtils' => 0, 'Perl6::Slurp' => 0, 'Template' => 0, perl => '5.024', @@ -7,7 +7,8 @@ DocKnot 3.05 (unreleased) two, ignore the indentation, and increase the threshold for a short line to 45 characters from 40. - Depend on JSON::MaybeXS instead of JSON. + Depend on JSON::MaybeXS instead of JSON, and List::SomeUtils instead + of List::MoreUtils. Update to rra-c-util 8.3: @@ -59,7 +59,7 @@ REQUIREMENTS * IPC::Run * IPC::System::Simple * JSON::MaybeXS - * List::MoreUtils + * List::SomeUtils * Perl6::Slurp * Template (part of Template Toolkit) @@ -63,7 +63,7 @@ The following additional Perl modules are required to use it: * IPC::Run * IPC::System::Simple * JSON::MaybeXS -* List::MoreUtils +* List::SomeUtils * Perl6::Slurp * Template (part of Template Toolkit) @@ -4,7 +4,7 @@ requires 'IO::Compress::Xz'; requires 'IPC::Run'; requires 'IPC::System::Simple'; requires 'JSON::MaybeXS'; -requires 'List::MoreUtils'; +requires 'List::SomeUtils'; requires 'Perl6::Slurp'; requires 'Template'; diff --git a/docs/metadata/requirements b/docs/metadata/requirements index 6cdf905..6c137d5 100644 --- a/docs/metadata/requirements +++ b/docs/metadata/requirements @@ -7,6 +7,6 @@ The following additional Perl modules are required to use it: * IPC::Run * IPC::System::Simple * JSON::MaybeXS -* List::MoreUtils +* List::SomeUtils * Perl6::Slurp * Template (part of Template Toolkit) diff --git a/lib/App/DocKnot/Dist.pm b/lib/App/DocKnot/Dist.pm index df6e17a..34ee0ad 100644 --- a/lib/App/DocKnot/Dist.pm +++ b/lib/App/DocKnot/Dist.pm @@ -27,7 +27,8 @@ use IO::Compress::Xz (); use IO::Uncompress::Gunzip (); use IPC::Run qw(run); use IPC::System::Simple qw(systemx); -use List::MoreUtils qw(any lastval); +use List::SomeUtils qw(lastval); +use List::Util qw(any); # Base commands to run for various types of distributions. Additional # variations may be added depending on additional configuration parameters. diff --git a/t/data/generate/docknot/output/thread b/t/data/generate/docknot/output/thread index c757303..0e4e46c 100644 --- a/t/data/generate/docknot/output/thread +++ b/t/data/generate/docknot/output/thread @@ -102,7 +102,7 @@ The following additional Perl modules are required to use it: \bullet(packed)[IPC::Run] \bullet(packed)[IPC::System::Simple] \bullet(packed)[JSON::MaybeXS] -\bullet(packed)[List::MoreUtils] +\bullet(packed)[List::SomeUtils] \bullet(packed)[Perl6::Slurp] \bullet(packed)[Template (part of Template Toolkit)] |