From 1e12c1b3436847490415181df23d46f735a3cb47 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 12 Oct 2014 01:01:47 +0300 Subject: [PATCH] Switch to JSON::MaybeXS --- Makefile.PL | 2 +- lib/WWW/BackpackTF.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 48ad885..d8833bc 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,7 +10,7 @@ WriteMakefile( LICENSE => 'perl', SIGN => 1, PREREQ_PM => { - qw/JSON 0 + qw/JSON::MaybeXS 0 LWP::Simple 0 PerlX::Maybe 0/, }, diff --git a/lib/WWW/BackpackTF.pm b/lib/WWW/BackpackTF.pm index a1fd37c..4e4ee15 100644 --- a/lib/WWW/BackpackTF.pm +++ b/lib/WWW/BackpackTF.pm @@ -22,7 +22,7 @@ BEGIN { } } -use JSON qw/decode_json/; +use JSON::MaybeXS qw/decode_json/; use LWP::Simple qw/get/; use PerlX::Maybe; use WWW::BackpackTF::Currency; -- 2.39.2