Skip Menu |

This queue is for tickets about the Locale-PO-Utils CPAN distribution.

Report information
The Basics
Id: 62765
Status: resolved
Priority: 0/
Queue: Locale-PO-Utils

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc: dagolden [...] cpan.org
RGARCIA [...] cpan.org
AdminCc:

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



CC: dagolden [...] cpan.org, rgarcia [...] cpan.org
Subject: Bleadperl cba5a3b breaks L:PO:U 0.08
As per subject. Example cpantesters report: http://www.cpantesters.org/cpan/report/9340858 Maybe it is something that can only be fixed in Safe.pm, I don't know. Best bet is to watch the ticket with the subject 'Bleadperl cba5a3b breaks Safe.pm' on rt.perl.org. It doesn't yet have a bug number. HTH, Regards,
RT-Send-CC: rgarcia [...] cpan.org, dagolden [...] cpan.org
I think you are right Andreas, maybe Safe or Opcode. I do not know who want to call: rvalues rkeys reach. This can be Moose too. The problem is a throwed warning from Opcode.pm at line 80 that Test::NoWarnings does not accept. In the attachment is the extracted code that should have the same problem I hope.
Subject: Safe.t
#!perl -T use strict; use warnings; BEGIN { package Locale::PO::Utils; use Moose; use MooseX::StrictConstructor; use MooseX::FollowPBP; use English qw(-no_match_vars $EVAL_ERROR); use Carp qw(confess); use Clone qw(clone); use Params::Validate qw(:all); use Scalar::Util qw(looks_like_number); require Safe; no Moose; __PACKAGE__->meta()->make_immutable(); } use Test::More tests => 1 + 1; use Test::NoWarnings; use Test::Exception; throws_ok( sub { Locale::PO::Utils->new(xxx => 1); }, qr{unknown \s+ attribute .+? xxx}xms, 'false attribute', );
Thanks to Rafaƫl for the very quick fix to Opcode.pm. Locale::PO::Utils is back on track.