Dan Sugalski wrote in perl.perl6.internals :At 2:50 PM +0100 3/24/04, Leopold Toetsch wrote:Dan Sugalski <[EMAIL PROTECTED]> wrote:
At any rate, perl 5's Safe module is a good example of the Wrong Way to do security, and as such we're going to take it as a cautionary tale rather than a template.
Ok. What about Ponie?
What about it? Safe's one of those modules that's guaranteed to not work under Ponie, as are a number of the B modules. That's OK.
Why?
OK, I understand that Ponie will compile Perl 5 source to parrot ops, and that Safe's interface uses perl ops. However it's a pure compile-time module -- it hooks into the optree construction routines -- so it may be possible to have an equivalent of it under Ponie.
It may be possible, but I'd not count on it. And given how busted it is, I think I'd actually prefer it not work.
Anything that twiddles deep in the internals of the interpreter is going to fail, and there's not a whole lot we can do about that--our internals look very different, and there's a lot that just can't be emulated.
--
Dan
--------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk