Re: IOScalar with threads dose not work

2010-03-24 Thread iizuka
Thank you for your comment, Shlomi. > 1. There's no such thing as IOScalar. Maybe you mean writing to an in-memory > buffer. Yes, in-memory buffer. That's what I meant. > 2. Don't use threads in Perl. They cause too many problems. Is there any workaround? to make multi-thread script without 'us

Re: IOScalar with threads dose not work

2010-03-24 Thread IIZUKA Soichi
Thanks for your help, shlomi. > 1. There's no such thing as IOScalar. Maybe you mean writing to an in-memory > buffer. Yes, in-memory buffer. That's what I meant. > 2. Don't use threads in Perl. They cause too many problems. Is there any workaround? to make multi-thread script without 'use thre

Re: IOScalar with threads dose not work

2010-03-23 Thread Jeff Peng
2010/3/23 Shlomi Fish : > > 2. Don't use threads in Perl. They cause too many problems. > Does it still have many problems until now? I ask it just because I wrote many code with Perl threads in my work, they seem work nice. -- Jeff Peng Email: jeffp...@netzero.net Skype: compuperson -- To u

Re: IOScalar with threads dose not work

2010-03-23 Thread Shlomi Fish
Hi iizuka! On Tuesday 23 Mar 2010 09:53:54 iiz...@sizk.net wrote: > I'm trying to make threaded Net::Telnet program. > I want all "input_log" to be written to one file. > So I tried to give an IOScalar FileHandle to "input_log", then output real > file later. IOScalar works fine, threads works fin

IOScalar with threads dose not work

2010-03-23 Thread iizuka
I'm trying to make threaded Net::Telnet program. I want all "input_log" to be written to one file. So I tried to give an IOScalar FileHandle to "input_log", then output real file later. IOScalar works fine, threads works fine. But together dosen't work. Here is sample script. Any suggestions appre