in reply to Executing functions from another process
This is commonly called a Remote Procedure Call or RPC and naturally you can find modules for that. For example RPC::Async::Server and RPC::Async::Client
A combination of the above
Results (169 votes). Check out past polls.