in reply to Malformed Headers due to using scalar for address
Two problems:
..which is probably not what you want. Make it:open MAIL, ("|mail $mail" || die "mail problem: $!");
to make it do the Right Thing.open MAIL, "|mail $mail" or die "Mail problem: $!";
perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^+*`^ ve^#$&V"+@( NO CARRIER'
|
|---|