Perl: the Markov chain saw | |
PerlMonks |
Re^3: at continue, lastby BrowserUk (Patriarch) |
on Jun 06, 2014 at 17:24 UTC ( [id://1089078]=note: print w/replies, xml ) | Need Help?? |
That'll break the program's logic; $loop may only be decremented within the conditional (otherwise, yes, I'd put it outside of it). I that case, decrement it as the first thing in the conditional, then you're guaranteed it'll happen. The point is that, as described, there is no reason to employed contorted logic to achieve the described requirement. Perhaps in an attempt to simplify the original code you've omitted something that makes the contorted logic necessary, but as posted, it simply isn't needed. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Meditations
|
|