Skip Menu |

This queue is for tickets about the MIME-Lite CPAN distribution.

Report information
The Basics
Id: 14326
Status: resolved
Priority: 0/
Queue: MIME-Lite

People
Owner: Nobody in particular
Requestors: kencl [...] shaw.ca
Cc:
AdminCc:

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



Subject: Throws uninitialized value warning under Win32
Version 3.01_04 throws the warning "Use of uninitialized value in concatenation (.) or string at <pmpath>/MIME/Lite.pm line 392." on Win32 systems. This is because of the version 3.01_01 change to the default mail sending agent under Win32, where $SENDMAIL is used in the string "$SENDMAIL -t -oi -oem" but $SENDMAIL is undefined (which is what happens when you declare a variable with my but don't set it to any default value). Fix: Just change line 379 from: my $SENDMAIL; to: my $SENDMAIL = ''; # prevent undefined string warning under Win32
This should have been resolved in a different way by a recent revision in svn. -- rjbs