diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-07-10 18:32:20 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-07-10 18:32:20 -0400 |
commit | c723eebe342b4d5c20253e571c889c83209ab2a3 (patch) | |
tree | 2177ff656f08721fa72a9a4a76b0ba25bf97650f /lib | |
parent | e52ba3116e175dcd3232243856a23a4819cf9406 (diff) | |
download | eval-closure-c723eebe342b4d5c20253e571c889c83209ab2a3.tar.gz eval-closure-c723eebe342b4d5c20253e571c889c83209ab2a3.zip |
stop using sub::exporter
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Eval/Closure.pm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Eval/Closure.pm b/lib/Eval/Closure.pm index 47a5f84..b8d9e0a 100644 --- a/lib/Eval/Closure.pm +++ b/lib/Eval/Closure.pm @@ -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); |