Skip Menu |

This queue is for tickets about the String-CamelCase CPAN distribution.

Report information
The Basics
Id: 123030
Status: resolved
Priority: 0/
Queue: String-CamelCase

People
Owner: Nobody in particular
Requestors: ilmari+cpan [...] ilmari.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: 0.04



Subject: Invalid syntax in META.yml
Hi, The "author" key of META.yml contains a duplicate "author:" string: author: author: - YAMASHINA Hio <hio@cpan.org> Which causes Parse::CPAN::Meta->load_file to throw an error: CPAN::Meta::YAML found illegal characters in plain scalar: 'author:' at /home/ilmari/perl5/perlbrew/perls/26.0/lib/5.26.0/Parse/CPAN/Meta.pm line 47. The quick fix is to change line 279 of inc/ExtUtils/MY_Metafile.pm to $yaml->{$key} = "\n"; But a better fix would be to remove inc/ExtUtils/MY_Metafile.pm and all references to it (including the @INC fix), and let ExtUtils::MakeMaker generate the META files itself. The my_metafile() parameters can be passed as the META_MERGE option to WriteMakefile if ExtUtils::MakeMaker is version 6.46 or newer (which shipped with perl 5.10.1). Regards, ilmari
From: alex.karelas [...] gmail.com
I confirm this bug, and believe that it is important and must be solved, because it doesn't let me install this module with Carton. I can only install v0.02 with Carton, and not the latest version (0.03).
The problem was fixed with ExtUtils::MakeMaker as your suggestion. String-CamelCase-0.04 is already uploaded and will be available soon. Thanks reporting! --