summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-07-10 16:43:46 -0400
committerJesse Luehrs <doy@tozt.net>2013-07-10 16:44:17 -0400
commit7031ee9e2b385fd149cd121e3d5d01f99ac99eda (patch)
tree285b44972dade6a1a9f66fb95d7c0e8cf800cc12 /t
parent85d4bad1e238a5e902cf390f023744c8e3dc1181 (diff)
downloadexporter-lexical-7031ee9e2b385fd149cd121e3d5d01f99ac99eda.tar.gz
exporter-lexical-7031ee9e2b385fd149cd121e3d5d01f99ac99eda.zip
make this api a bit less dumb
Diffstat (limited to 't')
-rw-r--r--t/lib/Foo.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/lib/Foo.pm b/t/lib/Foo.pm
index 14521ad..48fcd05 100644
--- a/t/lib/Foo.pm
+++ b/t/lib/Foo.pm
@@ -2,9 +2,7 @@ package Foo;
use strict;
use warnings;
-use Exporter::Lexical;
-
-our @EXPORT = ('foo');
+use Exporter::Lexical -exports => [ qw(foo) ];
sub foo { "FOO" }