Re: $head->get issues possibly.

"Roderick A. Anderson" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
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.


Rod
-- 
    "Open Source Software - You usually get more than you pay for..."
     "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"
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.