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