diff --git a/Makefile.PL b/Makefile.PL index dd3ed3f..a02c839 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -64,6 +64,7 @@ WriteMakefile PL_FILES => {}, EXE_FILES => [ 'bin/feedgnuplot' ], BUILD_REQUIRES => { 'String::ShellQuote' => 0, + 'List::MoreUtils' => 0, 'IPC::Run' => 0}, dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, clean => { FILES => 'feedgnuplot-*' }, diff --git a/bin/feedgnuplot b/bin/feedgnuplot index b9d874e..c432edf 100755 --- a/bin/feedgnuplot +++ b/bin/feedgnuplot @@ -8,7 +8,8 @@ use Getopt::Long; use Time::HiRes qw( usleep gettimeofday tv_interval ); use IO::Handle; use IO::Select; -use List::Util qw( first any ); +use List::Util qw( first ); +use List::MoreUtils 'any'; use Scalar::Util qw( looks_like_number ); use Text::ParseWords; # for shellwords use Pod::Usage;