Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: for loop over large BLOCK keeps failing

by perlmonkey (Hermit)
on May 02, 2001 at 11:54 UTC ( #77259=note: print w/replies, xml ) Need Help??


in reply to for loop over large BLOCK keeps failing

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) {

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://77259]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2016-09-27 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (513 votes). Check out past polls.