Skip Menu |

This queue is for tickets about the JSON-XS CPAN distribution.

Report information
The Basics
Id: 106822
Status: resolved
Priority: 0/
Queue: JSON-XS

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 3.01
Fixed in: (no value)



Subject: Pod: wrong result in decode_prefix() sample
The code sample in https://metacpan.org/pod/JSON::XS#perl_scalar-characters-json-decode_prefix-json_text returns ([1],3) instead of ([],3): $ perl -MData::Dumper -MJSON::XS -E 'say Dumper(JSON::XS->new->decode_prefix ("[1] the tail"))' $VAR1 = [ 1 ]; $VAR2 = 3;