http://www.perlmonks.org?node_id=985766


in reply to Re: Stumped with select->can_read (example)
in thread Stumped with select->can_read

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