in reply to Re: Safe, namespaces, B::Deparse
in thread Safe, namespaces, B::Deparse
Very interesting that a normal eval results in the same behavior; troubling too. The point though is that I want to know what happens when perl encounters package declarations that exist in the code executed within an instance of Safe. (Note that your version, because it is within a 'qq' not 'q' statement, takes the compile time version (of the enclosing program) of __PACKAGE__, which differs from the runtime version.) The reason I want to be assured of this behavior is that I'll be B::Deparse'ing arbitrary code and then checking it according to security measures via Safe::reval.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Safe, namespaces, B::Deparse
by diotalevi (Canon) on Oct 31, 2002 at 13:30 UTC | |
by djantzen (Priest) on Oct 31, 2002 at 22:36 UTC |