in reply to Blessed Objects and RPC
To maintain state, think of it more like a typical web browser interaction. Give clients a cookie, or a session ID or something that you can use to re-establish the current state of a multi-part interaction on the server side.
If you want something lightweight that does allow objects to be passed, there are some older RPC mechanisms on CPAN that are faster, simpler, and more capable. However, they are Perl-specific, they still just pass things by serializing with Storable, and they have mostly been abandoned in favor of more general standards like SOAP.
|
|---|