Commy_Code_Monkey has asked for the wisdom of the Perl Monks concerning the following question:

Oh wise monks, Here's what I want to do. I have several files that modified every few seconds. I want to be able to show the contents of these files in a Tk:Entry (or text or anything for that matter) in real time (or close to it). ie. Tk window shows 3 widgets for 3 files. As each file is updated, the widget displaying it's contents updates. At the same time I want to be able to add more widgets for more files, so the main window can't be frozen waiting to refresh the current files. I'm using ActivePerl 5.10 on a WinXP machine. I've lokoed into piping a notifier from a child process when the files is updated, to the parent process signalling it to update the widgets. I was trying ti use fileevent to execute the update whenever the child passes the notifier. However i've been unsuccessful, and found documentation saying fileevent is essentially useless to me on a windows machine. Is there a low tech way to get what I want? I'm not a programmer. I just play one in real life... help.

Replies are listed 'Best First'.
Re: Forking Problem
by zentara (Cardinal) on Feb 10, 2009 at 21:34 UTC