From ce19c70b6c5870c9ee5f8fd6548cd172719e8aa3 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 20 Oct 2010 14:47:23 -0500 Subject: just export eval_closure by default --- lib/Eval/Closure.pm | 1 + t/01-basic.t | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 = []; -- cgit v1.2.3-54-g00ecf