From: Michael G Schwern Date: Wed, 16 Jan 2008 10:25:36 +0000 (+0000) Subject: Declare dep on JSON::Any rather than JSON. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c843f5e4de071d037ba8d90a1aa0d81f873eb819;p=dbsrgits%2FDBIx-Class-Historic.git Declare dep on JSON::Any rather than JSON. No reason JSON::Any should prefer JSON.pm over it's default ordering. --- diff --git a/Makefile.PL b/Makefile.PL index 67326b5..898ea91 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -16,7 +16,7 @@ requires 'DBI' => 1.40; requires 'Module::Find' => 0; requires 'Class::Inspector' => 0; requires 'Class::Accessor::Grouped' => 0.05002; -requires 'JSON' => 1.00; +requires 'JSON::Any' => 1.00; requires 'Scope::Guard' => 0.03; # Perl 5.8.0 doesn't have utf8::is_utf8() diff --git a/script/dbicadmin b/script/dbicadmin index 6a9fb9b..2c92842 100755 --- a/script/dbicadmin +++ b/script/dbicadmin @@ -4,7 +4,7 @@ use warnings; use Getopt::Long; use Pod::Usage; -use JSON::Any qw(JSON); +use JSON::Any; my $json = JSON::Any->new(allow_barekey => 1, allow_singlequote => 1);