... or use explicit string concatenation, which is messier IMHO, but should work just as well:
open(MAILPIPE,'|/bin/mailx -s "Happy Birthday" ' . $email) or die "Can't open pipe $!";
Give a man a fish: <%-{-{-{-<
In reply to Re^2: How to put email addresses in a variable and send mails via mailx command
by AnomalousMonk
in thread How to put email addresses in a variable and send mails via mailx command
by Kislaya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |