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
In reply to Re: Is there such a thing as safe eval?
by broquaint
in thread Is there such a thing as safe eval?
by rzward
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |