in reply to Re: Simultaneous writes and as-needed reads from sockets (or The State of Perl Threads...)
in thread Simultaneous writes and as-needed reads from sockets (or The State of Perl Threads...)
I checked out POE (when you said architecture I got to thinking "hardware", actually its a perl module available from CPAN for anyone curious), and Im going to give it a lookover this evening.
What you said about IO::Select is something everyone else has said to me. However, IO::Select is what the module is using. I actually am not doing any of the socketting. I wanted to be able to just launch a lot of processes and not deal with them until they had something to say. Like, for instance, in bash if i were do this:
$ cat /etc/services & cat /etc/sendmail.cf
is going to get me lines to the terminal from both files, roughly intermingled. I dont see why I shouldnt be able to do this from within perl, as what I am actually doing is pretty nonintense. If this clarifies things and youre able to suggest something else, by all means do. Otherwise I'm going to have a look over POE and see how relevant it is and whether I can actually grok it.
Thanks again,
deprecated.
--
i am not cool enough to have a signature.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Simultaneous writes and as-needed reads from sockets (or The State of Perl Threads...)
by Fastolfe (Vicar) on Jan 13, 2001 at 04:59 UTC |