in reply to Doing stuff while doing other stuff
You are blocking until you get input from the client. You want your reads to timeout. You'll need to use select() for that. IO::Select comes with Perl and provides an object oriented interface that hides some of the details from you.
-sauoq "My two cents aren't worth a dime.";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Doing stuff while doing other stuff
by rendler (Pilgrim) on Sep 21, 2002 at 01:57 UTC |