There's no need to have an independent $cnt when you can use that name as the looping variable.for my $cnt ($start .. $end) { # ... }
In reply to Re: Which loop should I use?
by tadman
in thread Which loop should I use?
by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |