Navigation Menu

Skip to content

Commit

Permalink
use List::Util instead of List::AllUtils+List::MoreUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Jun 4, 2015
1 parent f7090b4 commit 482b4fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Config/MVP/Writer/INI.pm
Expand Up @@ -7,7 +7,7 @@ package Config::MVP::Writer::INI;

use Moose;
use Moose::Util::TypeConstraints;
use List::AllUtils ();
use List::Util ();

=attr spacing
Expand Down Expand Up @@ -194,7 +194,7 @@ sub _ini_section_config {
unless $config && scalar keys %$config;

my @lines;
my $len = List::AllUtils::max(map { length } keys %$config);
my $len = List::Util::max(map { length } keys %$config);

foreach my $k ( sort keys %$config ){
my $v = $config->{ $k };
Expand Down

0 comments on commit 482b4fd

Please sign in to comment.