logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: [Module::Build] META.yml version numbers: msg#00026

Subject: Re: [Module::Build] META.yml version numbers

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



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php


<Prev in Thread] Current Thread [Next in Thread>