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