Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add VERSION method to JSON::Backend packages to show VERSION of the a…
…ctual backend module (JSON::XS, JSON::PP etc), for backward compatibility
- Loading branch information
9025223
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't quite correct: VERSION must also pass through any arguments it receives, as it's often used as Some::Class->VERSION('X.Y'), this is the correct way to compare versions.
9025223
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing out. Fixed this with c15af5d