List::Util has "any" only from version 1.33, which older distros (like
RHEL/CentOS 7/6) do not have. Instead use List::MoreUtils, which is
available, and provides the same functionality.
---
generate-p2v-config.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generate-p2v-config.pl b/generate-p2v-config.pl
index 01387e0..be98838 100755
--- a/generate-p2v-config.pl
+++ b/generate-p2v-config.pl
@@ -20,7 +20,7 @@ use warnings;
use Class::Struct;
use Getopt::Long;
-use List::Util qw(any);
+use List::MoreUtils qw(any);
struct ConfigSection =>
{
--
2.21.0