http://qs321.pair.com?node_id=1071890


in reply to Re^4: Executing functions from another process
in thread Executing functions from another process

Now is a good time to review perlipc.

The only way to modify values within a Perl process is to do it within that one Perl process. Either you use threads, or you set up an API to do that modification for you.

There are other approaches, like shared memory or debuggers, but until you've understood the limitations of IPC, it doesn't make sense to bring out the heavy guns.