in reply to Re: Help with loops
in thread Help with loops
Then I put all of them into the list and send the email:$pscemail1 = $pointer->{'pscemail1'}; $pscemail2 = $pointer->{'pscemail2'}; $pscemail3 = $pointer->{'pscemail3'}; $pscemail4 = $pointer->{'pscemail4'}; $pscemail5 = $pointer->{'pscemail5'}; $pscemail6 = $pointer->{'pscemail6'}; $pscemail7 = $pointer->{'pscemail7'}; $pscemail8 = $pointer->{'pscemail8'};
Is there a better way to do it?@email = ($email,$pscemail1,$pscemail2,$pscemail3,$pscemail4,$pscemail +5,$pscemail6,$pscemail7,$pscemail8); foreach $toemail (@email) { Send the email }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Help with loops
by Anonymous Monk on May 06, 2016 at 06:35 UTC |