Seen recently in a production script distributed around the company I work for-
my $var=1; while ($var == 1){ # do a bunch of stuff and never touch $var # exit if (some condition); }
while(1) must have been too difficult :)
--
Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho
In reply to Re^2: Basic Coding Tips: Parsimonious Parameterization
by greenFox
in thread Basic Coding Tips: Parsimonious Parameterization
by dimar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |