fixup Devel::Dwarn by using Exporter's ->export_to_level
Matt S Trout [Wed, 9 Dec 2009 18:03:16 +0000 (18:03 +0000)]
lib/Devel/Dwarn.pm

index 91095a1..403c742 100644 (file)
@@ -2,6 +2,8 @@ package Devel::Dwarn;
 
 use Data::Dumper::Concise::Sugar ();
 
-sub import { goto &Data::Dumper::Concise::Sugar::import }
+sub import {
+  Data::Dumper::Concise::Sugar->export_to_level(1, @_);
+}
 
 1;