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