Hmm. I'm not entirely convinced that's actually malformed YAML as opposed
to a bug in YAML.pm.
Ingy, is this kosher YAML?
version_from: ./lib/Pod/Simple.pm
On Sun, Sep 07, 2003 at 08:39:06AM +0200, Andreas J Koenig wrote:
> Yes. You triggered a bug in MakeMaker's META.yml generator. You are
> the first and currently only author who uses "./" as the first two
> characters of the VERSION_FROM attribute and tried the new MakeMaker.
> Parsing the META.yml gives:
>
> % perl -e '
> use YAML;
> my $yaml = YAML::LoadFile shift;
> print $yaml;
> ' Pod-Simple-2.02.meta
> --- !perl/YAML::Error
> code: YAML_PARSE_ERR_BAD_IMPLICIT
> msg: Unrecognized implicit value './lib/Pod/Simple.pm'
> line: 5
> document: 1
> ...
> at -e line 3
>
> The fix for MakeMaker would be this pseudo patch to MM_Any.pm:
>
> - version_from: $self->{VERSION_FROM}
> + version_from: "$self->{VERSION_FROM}"
--
Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/
Here's some scholarly-ass opinions...