Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Running a script periodically to update player statistics on a web game.by dsheroh (Monsignor) |
on Nov 02, 2010 at 09:53 UTC ( [id://868958]=note: print w/replies, xml ) | Need Help?? |
Unrelated but the $cou+=0 looks a bit dodgy: ++$cou perhaps. I could be wrong as I've no idea what $cou refers to.Dodgy indeed. He appears to be trying to build an infinite loop to keep the game running forever, but he hasn't yet discovered the construct that most of us use. $cou is presumably a generic counter and I'm guessing the +=0 is intentional so that the loop will never terminate.
In Section
Seekers of Perl Wisdom
|
|