Load modules only after setting up @INC
authorFlorian Ragwitz <rafl@debian.org>
Tue, 12 Jul 2011 09:35:09 +0000 (11:35 +0200)
committerFlorian Ragwitz <rafl@debian.org>
Tue, 12 Jul 2011 09:35:09 +0000 (11:35 +0200)
t/run/dtrace.t

index 746f9ae..4ea851e 100644 (file)
@@ -1,7 +1,4 @@
 #!./perl
-use strict;
-use warnings;
-use IPC::Open2;
 
 my $Perl;
 my $dtrace;
@@ -23,6 +20,10 @@ BEGIN {
     $? && skip_all("Apparently can't probe using $dtrace (perhaps you need root?): $result");
 }
 
+use strict;
+use warnings;
+use IPC::Open2;
+
 plan(tests => 2);
 
 dtrace_like(