[Israel.pm] STDIN

Yuval Kogman nothingmuch at woobling.org
Sun May 9 09:45:31 PDT 2010

With IO::Handle loaded you can just do:


to get the same effect the code that Gaal posted.

Look into event loops (AnyEvent, for example) for a more structred
approach to single process, nonblocking multiplexed IO.

More information about the Perl mailing list