Re: New Module - DateTime::NaturalLanguage

[email protected] (Ken Irving)
Newsgroups perl.datetime
Message-ID <20080112041011.GA24691@localhost>
On Fri, Jan 11, 2008 at 03:23:19PM -0700, Luke Hutscal wrote:
> That's a thought - basically all it does is convert integer values to
> phrases - 200  to "3 minutes, 20 seconds", or 3612 to "24 hours, 12
> seconds".
> 
> Seeing as the module doesn't really make sense for inclusion into the
> DateTime::* namespace, does anyone have any recommendations on a better
> namespace to put it in?

Browsing on CPAN this shows up:

  Convert::Age - convert integer seconds into a "compact" form and back.
  ...
  FUNCTIONS ^
  encode
  
  convert seconds into a "readable" format 344 => 5m44s

This sounds similar to your module, except for being compact vs verbose.

Ken

-- 
Ken Irving, [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.