remove support for build_environment_vars_for's deactivate option
[p5sagit/local-lib.git] / t / subroutine-in-inc.t
index 685d76b..6d0480f 100644 (file)
@@ -1,4 +1,5 @@
-#!/usr/bin/perl -w
+use strict;
+use warnings FATAL => 'all';
 
 use Test::More tests => 1;
 
@@ -15,9 +16,9 @@ my $dir;
 
 BEGIN {
     $base = CODE_in_INC;
-    unshift @INC, sub { };
-    splice @INC, 3, 1, sub { };
-    push @INC, sub { };
+    unshift @INC, sub { () };
+    splice @INC, 3, 1, sub { () };
+    push @INC, sub { () };
 
     $dir = tempdir( DIR => Cwd::abs_path('t'), CLEANUP => 1 );
 }