in reply to Re^2: Action at a great distance
in thread Action at a great distance

Aristotle,

Your right, I am making an assumption of a single level structure and that would be copied-by-value anyway. And considering that I do this:

    if (verify(@temp_args)) {         @args = @temp_args;     }     else {         die "callback did something funky to args";     }
Then actually doing a proper deep-copy of @args would only make sense if you planned to catch the exception being thrown in the else block. Basically, my intention was to build a sandbox for the callbacks to run in with commit and rollback functionality. A real implementation would require much more knowledge of the data in @args and the functionality of the app as a whole.

-stvn