Skip Menu |

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

Report information
The Basics
Id: 125029
Status: new
Priority: 0/
Queue: JSON-Schema

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

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



Subject: dead condition is used. Boolean never be detected
https://metacpan.org/source/JSON::Schema::Helper#L559 the $$value can not be 0 and 1 at same time. You should use Probably you mean: (ref $value eq 'SCALAR' and ($$value==0 or $$value==1))