Re: $head->get issues possibly.

Mark Overmeer <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.mail-box
Organization MARKOV Solutions
Message-ID <[email protected]>
* Roderick A. Anderson ([email protected]) [040405 19:12]:
> On Mon, 5 Apr 2004, Roderick A. Anderson wrote:
> > It seems the spammers are breaking more and more Internet rules ... :-)  
> > I've fought and semi-fixed a few blank fields in the message header but 
> > more are appearing.  So I'd like some input on whether I'm doing this 
> > correctly.  It is based on suggestions I got off the list several months 
> > ago but I could have miss-understood what I was told.
> 
> OK I just reread the error message and it says,
> 
> The 'hour' parameter to DateTime::new did not pass the 'is between 0 and 
> 23' callback
> 
>    and I missed a line of my example/outline code.
> 
> >         my ($ss,$mm,$hh,$day,$month,$year,$zone) =
>               strptime($head->get('date'));
> 
> So we've entered a new possible buglet.

That's certainly not a MailBox buglett, because MailBox is not parsing
your date here.  Could have been different if you had used $msg->date.
-- 
               MarkOv

------------------------------------------------------------------------
drs Mark A.C.J. Overmeer                                MARKOV Solutions
       [email protected]                          [email protected]
http://Mark.Overmeer.net                   http://solutions.overmeer.net
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.