diff --git a/pom.xml b/pom.xml index 1d69ca27..f10eadfd 100644 --- a/pom.xml +++ b/pom.xml @@ -278,7 +278,9 @@ perl(Crypt::SSLeay) perl(LWP::Protocol::https) - + + perl-JSON-XS >= 2.3.0 /usr/lib/perl/EDG/WP4/CCM diff --git a/src/main/perl/JSONProfileSimple.pm b/src/main/perl/JSONProfileSimple.pm index 9f84f2b8..22a02533 100644 --- a/src/main/perl/JSONProfileSimple.pm +++ b/src/main/perl/JSONProfileSimple.pm @@ -31,7 +31,7 @@ use strict; use warnings; use EDG::WP4::CCM::Fetch qw(ComputeChecksum); -use JSON::XS 2.3.0; +use JSON::XS v2.3.0; $SIG{__DIE__} = \&confess; diff --git a/src/main/perl/JSONProfileTyped.pm b/src/main/perl/JSONProfileTyped.pm index b7ebaf2c..13eaf28a 100644 --- a/src/main/perl/JSONProfileTyped.pm +++ b/src/main/perl/JSONProfileTyped.pm @@ -52,7 +52,7 @@ use strict; use warnings; use EDG::WP4::CCM::Fetch qw(ComputeChecksum); -use JSON::XS 2.3.0; +use JSON::XS v2.3.0; use B; use Scalar::Util qw(blessed);