Closed dankogai closed 11 years ago
ingy,
It's rather unfortunate JSON(::XS)? does not regard boolean.pm. It's fortunate we need a single line to fix that.
sub TO_JSON() { ${$_[0]} ? \1 : \ 0 }
Would you merge so the rest of us can save the line?
Dan the Fan of Yours
boolean-0.29 successfully released.
Relax. Have a beer. \o/
you++;
ingy,
It's rather unfortunate JSON(::XS)? does not regard boolean.pm. It's fortunate we need a single line to fix that.
Would you merge so the rest of us can save the line?
Dan the Fan of Yours