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.