1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/japanese/p5-Lingua-JA-Numbers/pkg-descr
Doug Barton 2fadfa2cfb For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports.
2009-12-21 02:19:12 +00:00

16 lines
597 B
Plaintext

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 -MLingua::JA::Numbers \
-e '$y="\x{4e8c}\x{5343}\x{4e94}"; printf "(C) %d Dan Kogai\n", ja2num($y)'
CAVEAT
DO NOT BE CONFUSED WITH Lingua::JA::Number 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