Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-LocalDelivery CPAN distribution.

Report information
The Basics
Id: 2356
Status: resolved
Priority: 0/
Queue: Email-LocalDelivery

People
Owner: Nobody in particular
Requestors: simon [...] thegestalt.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.01
Fixed in: 0.02



Subject: Quell warnings (use of implicit split to @_ in Maildir)
diff -urP Email-LocalDelivery/LocalDelivery/Maildir.pm Email-LocalDelivery-new/LocalDelivery/Maildir.pm --- Email-LocalDelivery/LocalDelivery/Maildir.pm 2003-04-07 15:36:43.000000000 +0100 +++ Email-LocalDelivery-new/LocalDelivery/Maildir.pm 2003-04-07 19:53:25.000000000 +0100 @@ -25,7 +25,8 @@ sub fix_lines { my ($class, $mail) = @_; return if $mail->header("Lines"); - $mail->header("Lines", scalar split /\n/, $mail->body); + my @lines = split /\n/, $mail->body; + $mail->header("Lines", scalar @lines); } sub update_time {
Thanks, applied to cvs as revision 1.3 of LocalDelivery/Maildir.pm will be part of the next release.