Package: mail-expire
Version: 0.4

Program would crash at line 153 if the tested email did not have a date. 
ParseDate would return an empty array which would then crash Delta_Days.  I
added the following patch:

@maildate = Parse_Date($_);
@maildate = (1970,1,1) if scalar @maildate ==0;
$diff = Delta_Days(@maildate,@today);

Basically if a date can't be found in the message, set a token date...

Hope this helps..
Thanks
Eric


Reply via email to