<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">commit d779139859cb0fd1635ac702652acf54afe09b1a
Author: Reini Urban &lt;rurban@cpan.org&gt;
Date:   Sun Feb 19 09:35:12 2017 +0100

    avoid plan twice on cperl
    
    cperl sets Have_Plan on invalid plan args. upstream bug

diff --git lib/Test/Script.pm lib/Test/Script.pm
index fc4690f..4fa921b 100644
--- lib/Test/Script.pm
+++ lib/Test/Script.pm
@@ -68,7 +68,7 @@ sub import {
   my $pack = caller;
   my $test = Test::Builder-&gt;new;
   $test-&gt;exported_to($pack);
-  $test-&gt;plan(@_) if @_;
+  $test-&gt;plan(@_) if grep /^tests$/, @_;
   foreach ( @EXPORT ) {
     $self-&gt;export_to_level(1, $self, $_);
   }
</pre></body></html>