On Wed, Jul 10, 2019 at 05:24:41PM +0200, Pino Toscano wrote:
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 =>
{
--
ACK
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org