just export eval_closure by default
Jesse Luehrs [Wed, 20 Oct 2010 19:47:23 +0000 (14:47 -0500)]
lib/Eval/Closure.pm
t/01-basic.t

index 86a8377..1ce0327 100644 (file)
@@ -1,6 +1,7 @@
 package Eval::Closure;
 use Sub::Exporter -setup => {
     exports => [qw(eval_closure)],
+    groups  => { default => [qw(eval_closure)] },
 };
 
 use Carp;
index 42e309a..82224d9 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 use warnings;
 use Test::More;
 
-use Eval::Closure 'eval_closure';
+use Eval::Closure;
 
 my $foo = [];