Skip Menu |

This queue is for tickets about the Parse-CPAN-Meta CPAN distribution.

Report information
The Basics
Id: 77447
Status: resolved
Priority: 0/
Queue: Parse-CPAN-Meta

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: should autodetect JSON vs YAML
Date: Sat, 26 May 2012 14:27:35 +0100
To: bug-Parse-CPAN-Meta [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Parse::CPAN::Meta requires the caller to indicate whether a meta file to be parsed is in JSON or YAML, either by calling an appropriate function or by having the type indicated in the filename. In fact, .meta files on CPAN can be either, with no indication in the filename. P:C:M ought to have an interface that autodetects based on content. -zefram