See perlipc.
As IPC usually is a nasty thing, I recommend using a database or a directory as a communication device. This means both of your programs need to poll the shared structure for new messages arriving.
You could also use a TCP socket for communication, but that means you will need to ensure that the port used is not occupied by another program.
Potentially also see AnyEvent::MP for a way to send messages between programs.
In reply to Re: Sharing variables between applications
by Corion
in thread Sharing variables between applications
by fanticla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |