Subject: | fails with Test::Warn 0.10 |
You may need to depend on a newer version of Test::Warn. I had 0.10
and got failures like the following until I upgraded Test::Warn to
0.21.
The Test-Warn Changes file suggests that 0.11 changed to catch up with
Sub::Uplevel, so that might be what I'm seeing (I have S::U 0.2002 --
but I suspect that both T::W 0.11 and S::U 0.2002 were here already.)
Note: I'm surprised that Test::Warn does not depend on a higher
Sub::Uplevel, but maybe the compatibility shear only goes one way.
t/03-incomplete..................1/8
# Failed test 'No Tokens and No Parameters'
# at t/03-incomplete.t line 15.
# found carped warning: uplevel 2 is more than the caller stack
at /usr/local/sh
are/perl/5.8.8/Test/Warn.pm line 263
# didn't expect to find a warning
# ...
# (dozens of these)