# $dynamic declared prior my $start = 0; my $end = 10; for my $cnt ($start .. $end) { # for my $cnt (0..10) { print "We are on loop # $cnt\n"; print "$dynamic\n"; }
Update: Once again, I am too slow. If this keeps up, you can start calling me Slowpoke Rodriguez!
In reply to Re: Which loop should I use?
by Mr. Muskrat
in thread Which loop should I use?
by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |