in reply to Flag variables
You might be interested in Mark-Jason Dominus' excellent Program Repair Shop and Red Flags article series on Perl.com.
In a pinch, you should avoid flag variables wherever possible - they do nothing to clarify the algorithm and can often obscure it.
Makeshifts last the longest.
|
---|
In Section
Seekers of Perl Wisdom