},
'Parse::CPAN::Meta' => {
- 'DISTRIBUTION' => 'DAGOLDEN/Parse-CPAN-Meta-1.4412.tar.gz',
+ 'DISTRIBUTION' => 'DAGOLDEN/Parse-CPAN-Meta-1.4413.tar.gz',
'FILES' => q[cpan/Parse-CPAN-Meta],
'EXCLUDED' => [
- qw(t/00-compile.t),
qw[t/00-report-prereqs.t],
qr{^xt},
],
use strict;
package Parse::CPAN::Meta;
# ABSTRACT: Parse META.yml and META.json CPAN metadata files
-our $VERSION = '1.4412'; # VERSION
+our $VERSION = '1.4413'; # VERSION
use Exporter;
use Carp 'croak';
sub _slurp {
require Encode;
- require PerlIO::encoding;
- local $PerlIO::encoding::fallback = Encode::PERLQQ()|Encode::STOP_AT_PARTIAL();
- open my $fh, "<:encoding(UTF-8)", "$_[0]" ## no critic
+ open my $fh, "<:raw", "$_[0]" ## no critic
or die "can't open $_[0] for reading: $!";
- return do { local $/; <$fh> };
+ my $content = do { local $/; <$fh> };
+ $content = Encode::decode('UTF-8', $content, Encode::PERLQQ());
+ return $content;
}
sub _can_load {
=head1 VERSION
-version 1.4412
+version 1.4413
=head1 SYNOPSIS
=item *
+Graham Knop <haarg@haarg.org>
+
+=item *
+
Joshua ben Jore <jjore@cpan.org>
=item *
=item *
-L<Parse::CPAN::Meta> has been upgraded from version 1.4409 to 1.4412.
+L<Parse::CPAN::Meta> has been upgraded from version 1.4409 to 1.4413.
Invalid UTF-8 encoding in YAML files are now replaced with "PERLQQ"
quoting from the Encode module and without warnings.