in reply to Is there such a thing as safe eval?
Is there a way to limit the functionality of eval?A better approach might just be to limit the functionality of perl through the magic of a Safe compartment. Using a Safe compartment you can just turn off the appropriate opcodes (as found in the Opcode module) and you can get the restricted functionality that you desire.
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Is there such a thing as safe eval?
by rzward (Monk) on May 10, 2003 at 03:29 UTC |