RECENT POSTS

P5-lingua-ja-numbers

May 26, 2018

Converts numeric values to and from their Japanese string equivalents

This module converts Japanese text in UTF-8 or romaji in ascii to number, AND vice versa. Though this pod is in English and all examples are in romaji to make http//search.cpan.org/ happy, this module does accept Japanese in UTF-8. Try the code below to see it.

perl -MLinguaJANumbers \ -e ‘$y=”\x4e8c\x5343\x4e94”; printf “C d Dan Kogai\n”, ja2num$y’

CAVEAT

DO NOT BE CONFUSED WITH LinguaJANumber by Mike Schilli. This module is far more comprehensive. As of 0.03, it even does its to_string upon request.

WWW http//search.cpan.org/dist/Lingua-JA-Numbers/