JSON::MaybeXS tries to load Cpanel::JSON::XS, and if that fails instead tries to load JSON::PP. If neither is available, an exception will be thrown. It then exports the encode_json and decode_json functions from the loaded module, along with a JSON constant that returns the class name for calling new on. WWW: http://search.cpan.org/dist/JSON-MaybeXS/
6 lines
250 B
Text
6 lines
250 B
Text
%%SITE_PERL%%/JSON/MaybeXS.pm
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/MaybeXS/.packlist
|
|
%%PERL5_MAN3%%/JSON::MaybeXS.3.gz
|
|
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/MaybeXS
|
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON
|
|
@dirrmtry %%SITE_PERL%%/JSON
|