On Wed, 16 Aug 2000, Derek J. Balling wrote:

> Silly question, how would you "behave" if the last two fields were
> conflicting: e.g. Tue, 1 Aug 2000 11:50:28 -0400 (PDT)
> Not that I think parsing that format is a bad idea, but just that how 
> to handle bad data should be defined going into it. :)

I am not really sure how you would determine which would be the "correct"
one,  but I would favor for the ISO number value.

I guess, if you wanted to, you could throw an error or return undef if 
PDT doesn't match the ISO number value. Granted this would require
Time::Zone to make the comparison. On systems without Time::Zone you 
could simply ignore it.

--
Sander van Zoest                                         [[EMAIL PROTECTED]]
Covalent Technologies, Inc.                              http://www.covalent.net
(415) 536-5218

Reply via email to