Skip Menu |

This queue is for tickets about the Lingua-EN-Conjugate CPAN distribution.

Report information
The Basics
Id: 50991
Status: resolved
Priority: 0/
Queue: Lingua-EN-Conjugate

People
Owner: Nobody in particular
Requestors: dan [...] peeron.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.308
Fixed in: (no value)



Subject: s_form not exported
According to the docs, s_form can be exported on request. However, it's missing from the module's EXPORT_OK list: $ perl -MLingua::EN::Conjugate=s_form -e 1 "s_form" is not exported by the Lingua::EN::Conjugate module But it does work if given a full package name: $ perl -MLingua::EN::Conjugate -le 'print Lingua::EN::Conjugate::s_form("go")' goes
Patch attached.
diff -Nur Lingua-EN-Conjugate-0.308.orig/Changes Lingua-EN-Conjugate-0.308/Changes --- Lingua-EN-Conjugate-0.308.orig/Changes 2007-11-05 11:24:30.000000000 -0800 +++ Lingua-EN-Conjugate-0.308/Changes 2009-12-02 20:56:06.000000000 -0800 @@ -44,4 +44,8 @@ 0.308 -Removed "use diagnostics" \ No newline at end of file +Removed "use diagnostics" + +0.309 + +Exported s_form. diff -Nur Lingua-EN-Conjugate-0.308.orig/lib/Lingua/EN/Conjugate.pm Lingua-EN-Conjugate-0.308/lib/Lingua/EN/Conjugate.pm --- Lingua-EN-Conjugate-0.308.orig/lib/Lingua/EN/Conjugate.pm 2007-11-05 11:24:22.000000000 -0800 +++ Lingua-EN-Conjugate-0.308/lib/Lingua/EN/Conjugate.pm 2009-12-02 20:55:50.000000000 -0800 @@ -12,6 +12,7 @@ participle past gerund + s_form @tenses @pron ); @@ -42,7 +43,7 @@ ); -$VERSION = '0.308'; +$VERSION = '0.309'; @pron = qw(I you we he she it they); diff -Nur Lingua-EN-Conjugate-0.308.orig/t/testsform.t Lingua-EN-Conjugate-0.308/t/testsform.t --- Lingua-EN-Conjugate-0.308.orig/t/testsform.t 1969-12-31 16:00:00.000000000 -0800 +++ Lingua-EN-Conjugate-0.308/t/testsform.t 2009-12-02 20:58:48.000000000 -0800 @@ -0,0 +1,9 @@ + + +use Test; + +BEGIN { plan tests => 1 } + +use Lingua::EN::Conjugate qw( s_form ); + +ok(s_form("go"), "goes", "go => goes");
Fixed in 0.310 -- thanks!