That behavior sounds really odd to me. I don't see why it would act that way. I'm suspicious of the global variables or closures that appear in run(). Have you tried writing this as a method of $buffer?
Does the processing appear in blocks of all one handle at a time? That might make the loop only run once, if your sysreadline() method is highjacking select. I'd like to see how you've subclassed IO::Select. I suspect the odd behavior must originate there.
Does select really work right on WinXP?
After Compline,
Zaxo
In reply to Re: select loop madness
by Zaxo
in thread select loop madness
by Forsaken
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |