Skip to content

Commit

Permalink
flow: Remove dependency on List::MoreUtils perl module
Browse files Browse the repository at this point in the history
  • Loading branch information
kmurray committed Aug 1, 2019
1 parent 2957e10 commit 663ae94
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion run_reg_test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
use Cwd;
use File::Spec;
use List::Util;
use List::MoreUtils qw(uniq);
use Scalar::Util;

# Function Prototypes
Expand Down Expand Up @@ -446,3 +445,8 @@ ($)
$string =~ s/\s+$//;
return $string;
}

sub uniq {
my %seen;
return grep { !$seen{$_}++ } @_;
}

0 comments on commit 663ae94

Please sign in to comment.