>>>>> On Sat, 06 Sep 2003 18:00:30 -0800, "Sean M. Burke" <[EMAIL PROTECTED]> said:

  > At 04:46 PM 2003-09-06 -0400, Scott R. Godin wrote:
 >> [...] the CPAN_FILE attribute is also not quite correct, as it says
 >> "contact the
 >> author" when it should be the path to the current tar.gz  [...]

  > Hm.  I've just recently started releasing dists with the new .meta
  > things.  Maybe those are to blame.
  > E.g.,
  > http://www.perl.com/CPAN/authors/id/S/SB/SBURKE/Pod-Simple-2.02.meta

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}"

The fix to the PAUSE indexer is to protect the YAML::LoadFile call
with an eval (DONE). As a stop-gap workaround PAUSE should try to
tweak the YAML text and feed the tweaked thing to YAML::Load (DONE).
I'm testing the solution in the next minutes. You will get an "indexer
report" from PAUSE as soon as this is fixed. In general, please feel
free to pester me if you do not get that indexer report. It usually
indicates a bug somewhere if you don't get it.


-- 
andreas

Reply via email to