The only idea I've come up with is writing the object to the filesystem in an intermediary step, making sure you have the path in a "use lib" statement, and then
ing it on the remote host. I don't know how well that would work -- but for my purposes, where people can edit objects in real-time, it has some possibilities.