diff --git a/META.json b/META.json index d35bc13b0708..e6e6effe85c1 100644 --- a/META.json +++ b/META.json @@ -120,5 +120,5 @@ } }, "version" : "5.037005", - "x_serialization_backend" : "JSON::PP version 4.11" + "x_serialization_backend" : "JSON::PP version 4.12" } diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 540a1fabd95b..c21468bd1406 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -683,7 +683,7 @@ package Maintainers; }, 'JSON::PP' => { - 'DISTRIBUTION' => 'ISHIGAKI/JSON-PP-4.11.tar.gz', + 'DISTRIBUTION' => 'ISHIGAKI/JSON-PP-4.12.tar.gz', 'FILES' => q[cpan/JSON-PP], }, diff --git a/cpan/JSON-PP/lib/JSON/PP.pm b/cpan/JSON-PP/lib/JSON/PP.pm index 2a8b55a76366..732c5339d113 100644 --- a/cpan/JSON-PP/lib/JSON/PP.pm +++ b/cpan/JSON-PP/lib/JSON/PP.pm @@ -14,7 +14,7 @@ use JSON::PP::Boolean; use Carp (); #use Devel::Peek; -$JSON::PP::VERSION = '4.11'; +$JSON::PP::VERSION = '4.12'; @JSON::PP::EXPORT = qw(encode_json decode_json from_json to_json); diff --git a/cpan/JSON-PP/lib/JSON/PP/Boolean.pm b/cpan/JSON-PP/lib/JSON/PP/Boolean.pm index 08fec556a441..66f7e516fbca 100644 --- a/cpan/JSON-PP/lib/JSON/PP/Boolean.pm +++ b/cpan/JSON-PP/lib/JSON/PP/Boolean.pm @@ -3,6 +3,7 @@ package JSON::PP::Boolean; use strict; require overload; local $^W; +overload::unimport('overload', qw(0+ ++ -- fallback)); overload::import('overload', "0+" => sub { ${$_[0]} }, "++" => sub { $_[0] = ${$_[0]} + 1 }, @@ -10,7 +11,7 @@ overload::import('overload', fallback => 1, ); -$JSON::PP::Boolean::VERSION = '4.11'; +$JSON::PP::Boolean::VERSION = '4.12'; 1;