Re: Multitasking

2005-07-09 Thread Wiggins d'Anconia
, among others. http://stein.cshl.org/~lstein/ > >>On the same token you >>should really be using IO::Socket::* instead of messing with the sockets >>directly. > > > Umm... I am using IO::Socket::INET > Good! I just meant avoid using the "Low-level socket fu

Re: Multitasking

2005-07-09 Thread dave.w.turner
d which socket is the default. > If it is good enough for Mr. Stein, it is good enough for > *almost* all of us. Mr Stein? > On the same token you > should really be using IO::Socket::* instead of messing with the sockets > directly. Umm... I am using IO::Socket::INET >

Re: Multitasking

2005-07-08 Thread Wiggins d'Anconia
m. Then just read from the handle. On the same token you should really be using IO::Socket::* instead of messing with the sockets directly. If it is good enough for Mr. Stein, it is good enough for *almost* all of us. Having said all of this, it still isn't truly multitasking because you can

Re: Multitasking

2005-07-06 Thread Chris Devers
On Wed, 6 Jul 2005 [EMAIL PROTECTED] wrote: I am making an IRC bot to bridge 2 channels on different networks. Super. Considered using a CPAN module to save reinventing wheels?

Re: Multitasking

2005-07-06 Thread Wiggins d'Anconia
f this has already been written. POE handles multitasking/multiplexing like a dream. If you are doing this to learn, then kudos. If you are doing this for any other reason then this is one wheel you don't want to reinvent. http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED]

Multitasking

2005-07-06 Thread dave.w.turner
Hey, I am making an IRC bot to bridge 2 channels on different networks. For this I need to scan 2 sockets for data. How do I do this? This is how I do 1 socket: while(my $input = <$sock>) { . } -- Dave All us base are belong to you. -- To unsubscribe, e-mail: [EMAIL PROTECTED]