goto Exporter::import rather than using export_to_level
Graham Knop [Mon, 18 Feb 2019 15:30:44 +0000 (16:30 +0100)]
lib/Distar.pm

index fcdc97d..f5f6d24 100644 (file)
@@ -22,7 +22,7 @@ sub import {
     @Distar::MM::ISA = @MM::ISA;
     @MM::ISA = qw(Distar::MM);
   }
-  shift->export_to_level(1,@_);
+  goto &Exporter::import;
 }
 
 sub author {