From: Jesse Luehrs Date: Wed, 20 Oct 2010 19:47:23 +0000 (-0500) Subject: just export eval_closure by default X-Git-Tag: 0.01~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ce19c70b6c5870c9ee5f8fd6548cd172719e8aa3;p=gitmo%2FEval-Closure.git just export eval_closure by default --- diff --git a/lib/Eval/Closure.pm b/lib/Eval/Closure.pm index 86a8377..1ce0327 100644 --- a/lib/Eval/Closure.pm +++ b/lib/Eval/Closure.pm @@ -1,6 +1,7 @@ package Eval::Closure; use Sub::Exporter -setup => { exports => [qw(eval_closure)], + groups => { default => [qw(eval_closure)] }, }; use Carp; diff --git a/t/01-basic.t b/t/01-basic.t index 42e309a..82224d9 100644 --- a/t/01-basic.t +++ b/t/01-basic.t @@ -3,7 +3,7 @@ use strict; use warnings; use Test::More; -use Eval::Closure 'eval_closure'; +use Eval::Closure; my $foo = [];