Perl: the Markov chain saw | |
PerlMonks |
Re^5: PSGI, Plack, Twiggy, AnyEvent and SockJS... I need helpby Corion (Patriarch) |
on Apr 09, 2014 at 15:40 UTC ( [id://1081680]=note: print w/replies, xml ) | Need Help?? |
Of course the timer fires only once, because we undef the timer in its callback. If you want to keep the timer running, you need to move its variable to somewhere that stays alive or never undef it in the callback.
In Section
Seekers of Perl Wisdom
|
|