in reply to Re^2: Action at a great distance
in thread Action at a great distance
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:
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. -stvnif (verify(@temp_args)) { @args = @temp_args; } else { die "callback did something funky to args"; }
|
|---|