Skip Menu |

This queue is for tickets about the Lingua-JA-Numbers CPAN distribution.

Report information
The Basics
Id: 127158
Status: new
Priority: 0/
Queue: Lingua-JA-Numbers

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

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



Subject: Case sensitivity in ja2num
There is a certain amount of undocumented case sensitivity in ja2num: use lib 'Lingua-JA-Numbers-0.05/lib'; use Lingua::JA::Numbers 'ja2num'; print ja2num ('NI MAN'), "\n"; print ja2num ('NI man'), "\n"; print ja2num ('Ni Man'), "\n"; print ja2num ('ni man'), "\n"; This produces the following output: $ perl test2.pl Bareword found where operator expected at (eval 5) line 1, near "1e" (Missing operator before e?) 10000 20000 20000 The conversion of "NI man" into 10000 is particularly surprising.