Subject: | META.yml not parsable |
Date: | Sun, 06 Mar 2011 08:49:02 +1100 |
To: | bug-Tk-Calculator-RPN-HP [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
In Tk-Calculator-RPN-HP 1.2, the META.yml file doesn't seem to be
parsable by the YAML module (0.71). Eg.
perl -MYAML -e 'YAML::LoadFile("META.yml")'
=>
YAML Error: Invalid characters in stream. This parser only supports printable ASCII
Code: YAML_PARSE_ERR_BAD_CHARS
Line: 0
Document: 0
at /usr/share/perl5/YAML.pm line 36
I struck this trying to use the debian dh-make-perl program, which reads
the META.yml for dependencies.
It looks like the 3-part version number in Makefile.PL,
'Getopt::EvaP' => 2.3.5,
has gone through to META.yml as raw bytes.
Dunno what MakeMaker demands there. A string "2.3.5" perhaps? As long
as everything else reading it can understand that too. All these
multi-part version numbers seem to go wrong somewhere ... :-).
--
Come to Bob's Camping and Outdoor supplies, for now is the winter of our
discount tents.