use DateTime::Format::Japanese; my $fmt = DateTime::Format::Japanese->new( number_format => FORMAT_KANJI, year_format => FORMAT_ERA, with_gregorian_marker => 1, with_bc_marker => 1, with_ampm_marker => 1, with_day_of_week => 1 );
With all these options, aren't we better off to make this a strp/strf type module?
That's fine. I just couldn't come up with a good encoding (One of my personal programming mantra is that I would never try to invent a language/encoding/protocol unless I absolutely have to, and well, this to me didn't seem like a good candidate). But hey, if there's a good scheme, I'm all ears.
I'd suggest this module should be the latter and just have it return kanji characters rather than latin.
Hmm? It does that already.
My hunch is that you're talking about FORMAT_ROMAN, but that's not saying that the entire string is in latin, the numeric components are latin (and, as wacked up group of people that we are, we use roman numerals and double-byte numerals liberally within the same document)
--d
