Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PERL_JSON_BACKEND supports no alternative backends but JSON.pm #128

Open
karenetheridge opened this issue Jul 22, 2017 · 1 comment
Open

Comments

@karenetheridge
Copy link
Member

I just got this lovely gem:

JSON 2.5 is required for $ENV{PERL_JSON_BACKEND} = 'Cpanel::JSON::XS'                                                 
 at /Volumes/amaretto/Users/ether/perl5/perlbrew/perls/27.2/lib/5.27.2/CPAN/Meta.pm line 616.                         

...after daring to think that I could set PERL_JSON_BACKEND to my preferred backend. It looks like Parse::CPAN::Meta has no idea that other json encoders exist. No matter what you set it to, it tries to use 'JSON' instead.

@shadowcat-mst I think you were tinkering with this code at some point recently?

@skaji
Copy link

skaji commented Jul 22, 2017

According to perldoc Parse::CPAN::Meta, you can use CPAN_META_JSON_BACKEND.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants