in reply to (tye)Re: Safe question
in thread Safe question

Oops. Actually, I meant to push out the single quote version. I had been mucking with double quotes last.

I'm having an odd day as the error for the single quote version is not what I remember (it's now telling me $obj is undefined, even though I can clearly see that it *is* defined), and it now seems to work with no quotes just fine.

Ok - time for a nap. :)

Replies are listed 'Best First'.
(tye)Re2: Safe question
by tye (Sage) on Mar 22, 2002 at 21:49 UTC

    $obj is defined in the calling code. That doesn't mean that it will be defined inside the sandbox. And doing "without quotes" also means that you are doing all of the work (and danger) outside of the sandbox and then just having the sandbox do eval on the results (which means you might as well not have the sandbox at all).

            - tye (but my friends call me "Tye")