On Tue, Oct 24, 2006 at 01:42:52AM -0500, Dave Rolsky wrote: > On Tue, 24 Oct 2006, Steven Schubiger wrote: > > >>I was wondering if you'd consider one of the following: > >> > >>* Renaming your module to something without the DateTime > > > >I could rename it to the toplevel Date namespace. > > I'm really not sure what the best namespace for such a thing would be. > Date:: is certainly reasonable. It might be good to discuss this on the > [email protected] list.
Here I am :-) > >>* Doing a combination of the above, where the parser is a stand-alone > >>non-DateTime module, and there's a DateTime module that _uses_ the parser > >>and produced DateTime objects. Personally, I think this might be the best > >>option, and I'd be happy to work on the DateTime integration part (it > >>should be trivial). > > > >It does return a DateTime object. > > Oh, for some reason I thought it just returned a string of some sort. > Maybe that was version 0.01? Yes, that's correct. > I'm not sure what the right namespace for this would be in the DateTime > project. All the existing parsers are under DateTime::Format, but they all > pretty much do both parsing and format. I guess "natural" language > qualifies as a format. I think so too. > If this were to go under DateTime, I'd probably want to have be something > like DateTime::Format::Natural::EN or something like that, since it's > quite possible people will want parsers for other languages as well. I'd > also want it to have an interface more like the other DT::Format modules. Agreed upon. > Anyway, this all belongs on the list ;) > > > -dave > > /*=================================================== > VegGuide.Org www.BookIRead.com > Your guide to all that's veg. My book blog > ===================================================*/ Regards, Steven -- #!/usr/bin/perl http://steven.accognoscere.org | /"\ print /\d+/ ? chr($_) : "\n" for grep {/[\d\%]+/} reverse | \ / split /\$/, '%$114$101$107$99$97$72$32$108$$114$101$80$32 | X ????????????$114$101$104$116$111$110$65$32$116$115$117$74'; | / \
