Read up on perlipc. Having the two processes communicate by a TCP socket seems like a good choice; that way they don't even need to be on the same machine (at least as far as the progress bar is concerned!). | [reply] |
It sounds like IO::Socket should do what you want.
There's quite a few examples of usage in the Camel Book (Chap.16 - Interprocess Communication). This should also be available at perlipc but Perldoc.com appears to be down at the moment so I can't check.
| [reply] |
Hi,
Check out IPC::Shareable, which allows you to share variables using shared memory. That is if the client is running on the same machine as the server. Very simple to use
Jason L. Froebe
Team Sybase member No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1
| [reply] |
IPC::Shareable looks good, but I can't find version for Windows (it need SysV module, and that one uses binary library - in case of Windows DLL :-( Theoretically it should be inlcuded in Perl 5.8.5.
I'm using ActiveState, but the version is 5.8.4, and there is no SysV lib at all :-(
Where can i find it? (Compilation is not possible, I do not have any c compiler on my PC).
| [reply] |