There's more than one way to do things | |
PerlMonks |
Re^3: Flip-flop reset?by ysth (Canon) |
on Aug 30, 2006 at 20:55 UTC ( [id://570481]=note: print w/replies, xml ) | Need Help?? |
That will only work if you are certain nothing in your for loop will bail out early, including something throwing an exception that's caught by a caller of your sub. Putting the dummy "\n" at the beginning of the loop is safer.
In Section
Seekers of Perl Wisdom
|
|