Re: [Module::Build] META.yml version numbers
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-10-10 18:57:16
|
On Friday, October 10, 2003, at 01:42 PM, Chris Dolan wrote: > I just posted a bug for YAML that affects M::B's creation of META.yml > files. > http://rt.cpan.org/NoAuth/Bug.html?id=4066 > > YAML's Dump method doesn't respect whether a scalar is a string or a > number, so trailing zeros on version numbers are dropped when reading > .yml files. See the above URL for a very simple failing example. > > I haven't yet thought of a workaround that doesn't involve changes to > YAML.pm. Hi Chris, Yeah, this is an unfortunate bug in YAML. Apparently there's a new version of YAML.pm that Brian's been working on, and it's been released in a preliminary version at http://search.cpan.org/~ingy/YAML-Parser-Syck-0.01/ . Fortunately the YAML we emit is correct, and it's only YAML.pm reading it back in that's buggy. So we don't actually need to fix any bugs in Module::Build or rely on Brian's new parser. -Ken |