in reply to Re: Perl Best Practices - Loop Labels
in thread Perl Best Practices - Loop Labels
- (Oh, and another thing. You'll notice I labelled my inner loop too, even though I never used that label. I find labelling loops, especially nested loops can be a form of documentation.)
Interesting -- my preference would be to not do that, because then my brain would be searching for where the LINE: label is used. If a label's not used, I wouldn't put it in. That's a matter of personal taste, I guess -- but also, this is a simplified example.
In Section
Seekers of Perl Wisdom