X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F30-scope.t;h=f3586890c876e2583128df3b1f2682695d22cd48;hb=993994ae9c31e173043cec3aff1a924bb2694886;hp=414c9c759bcbb4d304104e7522d3d7ece4bc9a47;hpb=da26cc8e6a433e138ea14c50a48534358db57471;p=perl%2Fmodules%2Findirect.git diff --git a/t/30-scope.t b/t/30-scope.t index 414c9c7..f358689 100644 --- a/t/30-scope.t +++ b/t/30-scope.t @@ -43,7 +43,7 @@ sub expect { } { - my $w; + my $w = ''; local $SIG{__WARN__} = sub { $w = 'more than 2 warnings' if $w; $w = join '', 'warn:', @_