in reply to Re^2: solution for fileevent on Win32 ???
in thread solution for fileevent on Win32 ???

See Re^2: Perl/Tk App and Interprocess Communication for setting up a timer on a filehandle. You may need to use sysread instead of <> on the filehandle. I wish I had windows going so I could test, but no. :-(

I'm not really a human, but I play one on earth CandyGram for Mongo
  • Comment on Re^3: solution for fileevent on Win32 ???

Replies are listed 'Best First'.
Re^4: solution for fileevent on Win32 ???
by cta (Acolyte) on Jul 16, 2008 at 19:25 UTC
    Thanks for all the suggestions.

    Your solution works just fine.
    But I think I'm going to adopt the POE framework for this project. I create one POE session to read an input and another one to integrate that input to my Tk Canvas.
    I cannot give more details because I'm still learning how to set up POE environment.
    But It seems to be a really promising way. You don't need to know in the low level how to corporate different tasks in the same time, POE takes care of that for you.

    Cheers,