From: Marius Gavrilescu Date: Fri, 14 Nov 2014 21:05:04 +0000 (+0200) Subject: Replace JSON with JSON::MaybeXS X-Git-Tag: 0.001~1 X-Git-Url: http://git.ieval.ro/?p=aard.git;a=commitdiff_plain;h=fef4a7db43d230f7abe5e479f2c8016a47272271 Replace JSON with JSON::MaybeXS --- diff --git a/Makefile.PL b/Makefile.PL index 097d872..af8967b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -14,7 +14,7 @@ WriteMakefile( IO::Uncompress::Bunzip2 0 List::Util 0 - JSON 0 + JSON::MaybeXS 0 UUID::Tiny 0/, }, META_MERGE => { diff --git a/README b/README index a05ed4a..568fb7b 100644 --- a/README +++ b/README @@ -16,7 +16,7 @@ DEPENDENCIES This module requires these other modules and libraries: -* JSON +* JSON::MaybeXS * UUID::Tiny COPYRIGHT AND LICENCE diff --git a/lib/Aard.pm b/lib/Aard.pm index aebfc5c..0d331dd 100644 --- a/lib/Aard.pm +++ b/lib/Aard.pm @@ -9,7 +9,7 @@ use IO::Uncompress::Inflate qw/inflate/; use IO::Uncompress::Bunzip2 qw/bunzip2/; use List::Util qw/sum/; -use JSON qw/decode_json/; +use JSON::MaybeXS qw/decode_json/; use UUID::Tiny qw/uuid_to_string/; use constant HEADER_SPEC => [