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


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

How would you set up the parameters in Perl?

Just set up the parameters, and then print them as encoded JSON. On the other side, reverse the process.

For example, the following structure should work fine for passing parameters.

{ "parameters": [], "function": "frobnitz" }

Also, maybe JSON::RPC is of help.