Skip Menu |

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

Report information
The Basics
Id: 47392
Status: open
Priority: 0/
Queue: Lingua-EN-Inflect

People
Owner: Nobody in particular
Requestors: smylers [...] cpan.org
Cc:
AdminCc:

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



Subject: PL_eq Return Values
When PL_eq successfully finds one argument is a plural of t'other it gets its "p"s and "s"s muddled in its return value. This specific example is documented as returning "s:p": % perl -MLingua::EN::Inflect=PL_eq -wle 'print PL_eq("index","indexes")' But it prints "p:s" for me (and the opposite way round if the arguments are reversed). The documented behaviour makes the most sense ("s" first corresponds to the first argument being the singular), but accepting the current behaviour and changing the docs to match would avoid breaking backwards compatibility,
Subject: Re: [rt.cpan.org #47392] PL_eq Return Values
Date: Mon, 29 Jun 2009 09:24:37 +1000
To: bug-Lingua-EN-Inflect [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
2009/6/28 smylers@cpan.org via RT <bug-Lingua-EN-Inflect@rt.cpan.org>: Show quoted text
> The documented behaviour makes the most sense ("s" first corresponds to > the first argument being the singular), but accepting the current > behaviour and changing the docs to match would avoid breaking backwards > compatibility,
True, but since it's documented the sane way, it ought to work the sane way. Patched for the next release. Thanks! Damian