Skip Menu |

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 98987
Status: resolved
Priority: 0/
Queue: Moose

People
Owner: ether [...] cpan.org
Requestors: RURBAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in:
  • 2.1212
  • 2.1303-TRIAL



Subject: blead broke strict vars warnings
Just check the first part of the changed blead strict vars warning, without at. trivial to fix. same problem exists also in Mouse, see https://github.com/gfx/p5-Mouse/issues/34 t/basics/always_strict_warnings.t ok 1 - ... got an error because strict is on not ok 2 - ... got the right error # Failed test '... got the right error' # at t/basics/always_strict_warnings.t line 12. # 'Global symbol "$foo" requires explicit package name (did you forget to declare "my $foo"?) at (eval 174) line 1. # ' # doesn't match '(?^:Global symbol \"\$foo\" requires explicit package name at)' ok 3 - ... no warning yet ok 4 - ... got a warning ok 5 - .. and it is the right warning ok 6 - ... got an error because strict is on not ok 7 - ... got the right error # Failed test '... got the right error' # at t/basics/always_strict_warnings.t line 34. # 'Global symbol "$foo" requires explicit package name (did you forget to declare "my $foo"?) at (eval 178) line 1. # ' # doesn't match '(?^:Global symbol \"\$foo\" requires explicit package name at)' ok 8 - ... no warning yet ok 9 - ... got a warning ok 10 - .. and it is the right warning ok 11 - ... got an error because strict is on not ok 12 - ... got the right error # Failed test '... got the right error' # at t/basics/always_strict_warnings.t line 56. # 'Global symbol "$foo" requires explicit package name (did you forget to declare "my $foo"?) at (eval 182) line 1. # ' # doesn't match '(?^:Global symbol \"\$foo\" requires explicit package name at)' ok 13 - ... no warning yet ok 14 - ... got a warning ok 15 - .. and it is the right warning 1..15 # Looks like you failed 3 tests of 15. -- Reini Urban
Subject: Re: [rt.cpan.org #98987] blead broke strict vars warnings
Date: Fri, 19 Sep 2014 13:24:28 -0700
To: Reini Urban via RT <bug-Moose [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
On Fri, Sep 19, 2014 at 04:01:19PM -0400, Reini Urban via RT wrote: Show quoted text
> Just check the first part of the changed blead strict vars warning, without at. > trivial to fix. same problem exists also in Mouse, see https://github.com/gfx/p5-Mouse/issues/34
Yay. Ok, I'll get a Moose fix out by this weekend (hopefully before 5.21.4 arrives).
Fixed in 2.1212 and 2.1303-TRIAL.