Skip to content

Commit 663ae94

Browse files
committed
flow: Remove dependency on List::MoreUtils perl module
1 parent 2957e10 commit 663ae94

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

run_reg_test.pl

+5-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
use Cwd;
3333
use File::Spec;
3434
use List::Util;
35-
use List::MoreUtils qw(uniq);
3635
use Scalar::Util;
3736

3837
# Function Prototypes
@@ -446,3 +445,8 @@ ($)
446445
$string =~ s/\s+$//;
447446
return $string;
448447
}
448+
449+
sub uniq {
450+
my %seen;
451+
return grep { !$seen{$_}++ } @_;
452+
}

0 commit comments

Comments
 (0)