| [reply] |
I would start by reading perlipc (man perlipc) and see what ideas pop up.
Tiago | [reply] |
I accomplished something similar on a project by using Cache::Cache.
-Nitrox
| [reply] |
It's a good pretext to use SOAP::Lite ;-) A nice and small project to get familiar with the technology (that is extremely simple to use in Perl.
Just my 2 cents, -gjb-
| [reply] |
Well, IPC::Shareable saved my butt a few times but I do consider using it as a dirty hack :)
Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur. | [reply] |
Lots of ways to do this, here's the ones I remember off the top of my head, pick one you like:
- Look for files in a directory/drop files in a directory (good when data is in obvious chunks like transactions, and/or you're in a hurry.)
- Create a pipe. One process writes to it, the other reads. If you need bi-directional, two pipes. (This is classic *nix.)
- If there is a future possibility of the two processes being on different machines, consider using a socket.
- I haven't used SOAP::Lite, but a couple other posters mention it, so it's probably worth checking, especially if your project needs more buzzwords for PHB approval.
Also, if there is a future possibility of needing more than one instance of either end of the protocol, keep that in mind in picking a solution.
-- Spring: Forces, Coiled Again!
| [reply] |