|
|
| go ahead... be a heretic | |
| PerlMonks |
Re^5: A way to avoid repeated conditional loopsby Anonymous Monk |
| on Aug 24, 2011 at 16:27 UTC ( [id://922147]=note: print w/replies, xml ) | Need Help?? |
|
The OP code has an else condition on the match for alpha. That should execute for every line of the file except the 'alpha', regardless of before or after.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||