From b5b19c5f6a9f7548feffeed47f4d483b81b4d5bc Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 22 Jul 2013 20:44:27 -0400 Subject: note in the synopsis that keywords should be exported (fixes #1) --- lib/Parse/Keyword.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Parse/Keyword.pm b/lib/Parse/Keyword.pm index 1c270de..7047482 100644 --- a/lib/Parse/Keyword.pm +++ b/lib/Parse/Keyword.pm @@ -15,6 +15,8 @@ XSLoader::load( =head1 SYNOPSIS use Parse::Keyword { try => \&try_parser }; + use Exporter 'import'; + our @EXPORT = 'try'; sub try { my ($try, $catch) = @_; -- cgit v1.2.3-54-g00ecf