stop using sub::exporter master
Jesse Luehrs [Wed, 10 Jul 2013 22:32:20 +0000 (18:32 -0400)]
lib/Eval/Closure.pm

index 47a5f84..b8d9e0a 100644 (file)
@@ -1,12 +1,11 @@
 package Eval::Closure;
 use strict;
 use warnings;
-use Sub::Exporter -setup => {
-    exports => [qw(eval_closure)],
-    groups  => { default => [qw(eval_closure)] },
-};
 # ABSTRACT: safely and cleanly create closures via string eval
 
+use Exporter 'import';
+@Eval::Closure::EXPORT = @Eval::Closure::EXPORT_OK = 'eval_closure';
+
 use Carp;
 use overload ();
 use Scalar::Util qw(reftype);