Perl: the Markov chain saw | |
PerlMonks |
Re: for loop over large BLOCK keeps failingby perlmonkey (Hermit) |
on May 02, 2001 at 11:54 UTC ( [id://77259]=note: print w/replies, xml ) | Need Help?? |
Your not looping. You are doing an assignment, $loop=4, then quiting the loop. You need to have a conditional statement: $loop == 4 or make it a little more perlish: for my $loop (0 .. 3) {
In Section
Seekers of Perl Wisdom
|
|