in reply to Re^3: Perl - TK - Listbox insertion problem
in thread Perl - TK - Listbox insertion problem

So basically what your saying is i need to rewrite how i handle the connection to the server to make this work and use fileevent.
  • Comment on Re^4: Perl - TK - Listbox insertion problem

Replies are listed 'Best First'.
Re^5: Perl - TK - Listbox insertion problem
by choroba (Cardinal) on Apr 27, 2010 at 20:59 UTC
    I am not sure about the connection, I haven't read the whole code. But as stated in my first reply, I'd start with fileevent.
Re^5: Perl - TK - Listbox insertion problem
by k0rn (Acolyte) on Apr 28, 2010 at 01:33 UTC
    I have tried fileevent before and could not make it work so its one of a few things either A im not doing it right most likely. B I'm have all these problems due to the splitting into two process probably not. Or C how I'm handling the connection. Or D all of the above lol.

    UPDATE: It was D all of the above! I got it to work. The only problem is while(<$sock>) seems not to work only if its if (<$sock>) Thanks man!!!