Just another Perl shrine | |
PerlMonks |
Re^6: Splitting one large timeout into few smaller ones..by Eyck (Priest) |
on Apr 07, 2005 at 19:51 UTC ( [id://445855]=note: print w/replies, xml ) | Need Help?? |
Which threads flavour is worth considering?
I don't know how to ask this in more clear way, but my whole post was about embedding those yield points within the loops, that is exactly what I'm trying to do. As you say, it's supposed to be simple, but I'm having problems with figuring this one out. If it's not clear from the way I tried to phrase the question, then where do you think I made the mistake? As to 'return unless $timeleft', that would be exactly the opposite of what I'm trying to do. Sth like Or maybe However, using goto seems ugly, and putting return; inside SIG{ALRM} shouldn't work. I'm asking if there's a way to make this work.
In Section
Seekers of Perl Wisdom
|
|