On Mon Nov 12 15:18:18 2012, CJM wrote:
Show quoted text> It's actually a bug in version->parse:
>
https://rt.perl.org/rt3/Public/Bug/Display.html?id=115660
>
> Basically, passing $1 to version->parse may or may not work, depending
> on what the rest of your program has been doing with $1. Unfortunately,
> loading Test::More tends to keep the bug from triggering.
>
> Matthew Horsfall discovered that adding "local $1;" in the right spot in
> the test will consistently trigger the bug, but only after I'd released
> 2.002. The improved test will be in the next release.
Thanks for the release.
I don't think that you really need to bother testing that, as it is a
known bug in Perl and surely will be closed soon.
I wouldn't have. :-)
About the but in the parse function - magic variables are really
annoying to handle in XS. and you can never be sure where they will be
injected from...