* Philip Newton ([EMAIL PROTECTED]) [12 Aug 2000 03:47]:
[...]
> So if we're now on 1-indexing, we'll see lots of @months = (undef,
> 'Jan', 'Feb') or qw(dummy Jan Feb)... oh well.

Perhaps a method should be added: $t->monthstr() which would return the
month as a shortened form (qw/Jan Feb .../) and $t->monthstring() which
would return the month in long form (qw/January February .../).

Naturally the methods (and appropriate hash keys) would be named better.

And naturally using a different language option would spit out different
month names. For example:

  lang is English  => qw/January February .../

  lang is German   => qw/Januar Februar .../

  lang is Japanese => qw/ichigatsu nigatsu .../ (only in UTF-16, natch)

Just think of the amount of instantly translated software!


cheers!
-- 
iain truskett, aka Koschei.                    <http://eh.org/~koschei/>
      Emacs is a nice OS - but it lacks a good text editor.
      That's why I am using Vim.  -- Anonymous.

Reply via email to