> From: Andy Lester [mailto:[EMAIL PROTECTED]
> 
> > So, watcha think?  Is my namespace good?  PHP::DateTime?
> 
> So are you replicating functionality, or are you reading some special
> PHP format?  If it's just functionality, why is it even in a Perl
> module?

Well, its date and time functions that work how php date and time functions
work (they are different than how the perl date/time functions/modules
work).

> PHP::Strings does exist, but it's more of a joke than a serious module.

Ya, I saw that one, I didn't realize it wasn't for a good use.  :)

> PHP::Session does have serious cross-language use.

Makes sense.

Well, I do believe that replicating all of the date/time php functions isn't
useful.  But, I do think that having perl equivalents of a couple of them
(in particular date) would be very useful for people integrating perl with a
php app's data.  How many people have a php app running and want to write
some perl code to enhance it - I don't know, but I know I'm one.

In addition, I like to be complete.  While I think a couple functions are
useful, I'm anal and would just go ahead and make all of them in the odd
chance that someone wants to call gettimeofday.

An alternative, if everyone just thinks this is a dumb idea (I might agree)
maybe just implementing PHP's date function as something like
DateTime::Format::PHPdate (or somesuch)

Aran


> xoa
> 
> --
> Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance



Reply via email to