diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-07-22 20:44:27 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-07-22 20:44:27 -0400 |
commit | b5b19c5f6a9f7548feffeed47f4d483b81b4d5bc (patch) | |
tree | ae1fb220f0cf2ffe4f634321b0fd994d1ef5e96c | |
parent | 96099bd6062a9d9b4106d611c198be54f33ec4f4 (diff) | |
download | parse-keyword-b5b19c5f6a9f7548feffeed47f4d483b81b4d5bc.tar.gz parse-keyword-b5b19c5f6a9f7548feffeed47f4d483b81b4d5bc.zip |
note in the synopsis that keywords should be exported (fixes #1)
-rw-r--r-- | lib/Parse/Keyword.pm | 2 |
1 files changed, 2 insertions, 0 deletions
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) = @_; |