Your ideas about what is American vs. British are not entirely consistent with usage across this rather vast country. Growing up in North Carolina, everyone used 'minus' which you describe as British, and most people put an and between the hundred and the rest of the number. And even in NYC today, when referring to temperatures, people often choose minus. I'm sure that there are style guides which decry such usage, but what I'm saying is that a better approach (if someone is fixing those issues) is to make the negative_prefix ('minus' or 'negative'), the hundred_and boolean, and the long_or_short separate options, and not lump them all together as british or american. That should also provide a more robust module if custom changes, as it apparently has with the short vs. long issue.
They're not really my ideas, but I take your point. And I agree completely on the style of configuration options needed. I'll update the post to reflect that.
I'm gradually working on my tools as I write these sorts of reviews. At some point I'll put everything on github, and release something to CPAN if appropriate.
Your ideas about what is American vs. British are not entirely consistent with usage across this rather vast country. Growing up in North Carolina, everyone used 'minus' which you describe as British, and most people put an and between the hundred and the rest of the number. And even in NYC today, when referring to temperatures, people often choose minus. I'm sure that there are style guides which decry such usage, but what I'm saying is that a better approach (if someone is fixing those issues) is to make the
negative_prefix
('minus' or 'negative'), thehundred_and
boolean, and thelong_or_short
separate options, and not lump them all together as british or american. That should also provide a more robust module if custom changes, as it apparently has with the short vs. long issue.There is one bug fix in this fork:
https://github.com/benkasminbullock/Lingua-EN-Numbers
I also have written to Sean M. Burke about the module but did not receive a reply.
They're not really my ideas, but I take your point. And I agree completely on the style of configuration options needed. I'll update the post to reflect that.
Hi NeilB
Thanx for making the effort.
I know this means more work, but I'd like to see you roll your code into a module under the Benchmark::Featureset::* namespace.
That'd make it easy to re-run after modules were updated.
Cheers
Ron
Thanks Ron.
I'm gradually working on my tools as I write these sorts of reviews. At some point I'll put everything on github, and release something to CPAN if appropriate.
Thanks, just when I needed this article..