Skip to content

PERL_JSON_BACKEND supports no alternative backends but JSON.pm #128

Description

@karenetheridge

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions