]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/30-scope.t
In t/30-scope.t, avoid failures for "eval 'no indirect; $x = new Foo'" for being...
[perl/modules/indirect.git] / t / 30-scope.t
index 414c9c759bcbb4d304104e7522d3d7ece4bc9a47..f3586890c876e2583128df3b1f2682695d22cd48 100644 (file)
@@ -43,7 +43,7 @@ sub expect {
 }
 
 {
- my $w;
+ my $w = '';
  local $SIG{__WARN__} = sub {
   $w = 'more than 2 warnings' if $w;
   $w = join '', 'warn:', @_