instead:use feature qw(say); while (<TESTFILE>){ next if !~ m/^To\s*=\s*(.*)/; say "To = <$1>"; }
foreach $Line (<TESTFILE>) { if ($Line =~ m/To\s*=\s*(.*)/) { $To = $1; print "To = <$To>\n"; } }
In reply to Re: Sending Email to a list of people using Mail::Sender
by pvaldes
in thread Sending Email to a list of people using Mail::Sender
by mlebel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |