From: Jesse Luehrs Date: Wed, 10 Jul 2013 22:32:20 +0000 (-0400) Subject: stop using sub::exporter X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=HEAD;p=gitmo%2FEval-Closure.git stop using sub::exporter --- 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);