Wow, awesome! I implemented that into my code, and that seems to work great! Thanks!
I do have a question, though. I'm not sure what the line: "for my $buf ( $buf{$fh} )" is doing. Is the hash "%buf" getting initialized as the $buf variable gets populated with the sysread calls? That's the only line in the code that I'm struggling to understand. :/
Thanks again!
Pedro
In reply to Re^2: Stumped with select->can_read (example)
by w1r3d
in thread Stumped with select->can_read
by w1r3d
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |