in reply to Perl sandbox

Greetings,

I am not very familiar with Safe, so I do not know if this would work:

  1. Override open, somewhere.
  2. your newfanlged open runs the arguments checks
  3. it calls CORE::open if satisfied
This can be repeated ad libitum (though overriding some of the operators will probably require some heavy prototyping, if they are to look and feel exactly the same as the originals...).


Cheers,
alf


You can't have everything: where would you put it?