Subject: | PL("children") returns "childrens" instead of expected "child" |
Hi,
I encountered a bug when using Lingua::EN::Inflect 1.89 to determine if arrays are named in plural in Module::Checkstyle.
I've tracked it down to the PL function returning "childrens" instead of "child" when passing "children" as the argument.
The following code shows the bug.
<code>
#!/usr/bin/perl
use Lingua::EN::Inflect qw(PL_N_eq PL);
print PL("children"), "\n"; # prints "childrens"
print PL_N_eq("child", PL("child")), "\n"; # returns s:p
print PL_N_eq("children", PL("children")), "\n"; # returns s:p
</code>
I'm using perl 5.8.4 on linux 2.4.27-2
Thanks,
Claes Jacobsson