Subject: | $SENDMAIL not defined on Win32 |
Hello,
In Lite.pm from MIME-Types-1.13.tar.gz, line 392 reads:
my %SenderArgs = ( "sendmail" => ["$SENDMAIL -t -oi -oem"], "smtp" => [], "sub" => [], );
The problem is that $SENDMAIL is not defined if $^O =~ /win32/i (10 lines above). This will generate a "Use of uninitialized value in concatenation (.) or string" warning.
The fix would be to define $SENDMAIL in the if branch for $^O matching /win32/i.
Hope this helps,
Dan Dascalescu