Skip Menu |

This queue is for tickets about the Log-Procmail CPAN distribution.

Report information
The Basics
Id: 2658
Status: rejected
Priority: 0/
Queue: Log-Procmail

People
Owner: book [...] cpan.org
Requestors: elfchief+cpan [...] lupine.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.05
Fixed in: (no value)



Subject: Log::Procmail throwing warnings on corrupt dates...
In the ymd() method, if $self->{date} isn't set, or the date contained there isn't parseable with the regex in ymd(), the calling the ymd() method results in warnings when the module is used under perl -w e.g.: Use of uninitialized value in pattern match (m//) at /usr/devel/perl58/lib/site_perl/5.8.0/Log/Procmail.pm line 279, <GEN0> line 332282. Use of uninitialized value in concatenation (.) or string at /usr/devel/perl58/lib/site_perl/5.8.0/Log/Procmail.pm line 280, <GEN0> line 332282.
RT-Send-CC: book [...] cpan.org
[guest - Mon May 26 20:40:39 2003]: Show quoted text
> In the ymd() method, if $self->{date} isn't set, or the date contained > there isn't parseable with the regex in ymd(), the calling the > ymd() method results in warnings when the module is used under perl > -w > > e.g.: > > Use of uninitialized value in pattern match (m//) at > /usr/devel/perl58/lib/site_perl/5.8.0/Log/Procmail.pm line 279, > <GEN0> line 332282. > Use of uninitialized value in concatenation (.) or string at > /usr/devel/perl58/lib/site_perl/5.8.0/Log/Procmail.pm line 280, > <GEN0> line 332282.
Can you send me or attach an example log file or a script using Log::Procmail that causes this problem? I've never met it with the procmail files I could find. Thanks.