Re: New Module - DateTime::NaturalLanguage

[email protected] ("Robert Krimen")
Newsgroups perl.datetime
Message-ID <[email protected]>
Hi Luke,

AFAIK, formatting/parsing modules like yours go under the
DateTime::Format:: namespace.

A module for what it sounds like you're trying to do already exists:
http://search.cpan.org/~schubiger/DateTime-Format-Natural-0.65/http://search.cpan.org/~schubiger/DateTime-Format-Natural-0.65/

I'm not sure if it handles durations, though.

Try poking around here:
http://search.cpan.org/search?query=DateTime%3A%3AFormat&mode=all

Best,
Rob

On Jan 10, 2008 4:40 PM, Luke Hutscal <[email protected]> wrote:
> Hi,
> I recently put the finishing touches on a module that creates more "natural"
> descriptions of timespans - converting things like "200" into "3 minutes, 20
> seconds".
>
> After asking for some naming ideas on Perlmonks, I was given the idea of
> calling my module DateTime::NaturalLanguage.
>
> I attempted to submit my module to the CPAN module list, and was told that I
> should join this mailing list and ask about including my module into the
> namespace - to coordinate with other modules that are currently being
> developed.
>
> Can I put my module into the DateTime namespace? Is there any other module
> that does the same thing and I should instead be contributing to?
>
> Alternatively, does anyone have any other suggestions for what namespace to
> put my module under?
>
> You can see the module here:
> http://cpan.calvin.edu/pub/CPAN/authors/id/G/GI/GIRASQUID/.
>
> Thanks,
> Luke
>
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.