+Workaround Mail-Alias-1.12 clutter of $_
authorshort <>
Sun, 6 Oct 2002 21:42:18 +0000 (21:42 +0000)
committershort <>
Sun, 6 Oct 2002 21:42:18 +0000 (21:42 +0000)
perlmail-sendmail

index 5f6a070..4831db2 100755 (executable)
@@ -17,7 +17,8 @@ require Mail::Alias;
 my $sendmail_orig=(-x ($_="/usr/sbin/sendmail-orig") ? $_ : "/usr/sbin/sendmail");
 my $HOME="/home/short";
 # Mail-Alias-1.12 defaults to "/etc/mail/aliases" which does not exist on RedHat sendmail-8.12.5-7
-my @addr_addon=(Mail::Alias->new("/etc/aliases")->exists($_="sentout") ? ($_) : ());
+# Mail-Alias-1.12 will clutter $_ !
+my @addr_addon=(Mail::Alias->new("/etc/aliases")->exists("sentout") ? ("sentout") : ());
 my $opt_F;
 sub FromAddress
 {