Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: own "mod_perl" implemenationby esskar (Deacon) |
on Jul 25, 2005 at 23:43 UTC ( [id://478019]=note: print w/replies, xml ) | Need Help?? |
Okay; I finally got time to work on this issue. I looked at Die::Alive and Safe::World but this not quit what i want! I wrote a C++ wrapper around the <edit>Perl-</edit> C-API which has a function to overwrite a internal perl funcion which looks like this: now i can do something like the following which would substitute perl's exit with the function bar from the Foo package. (Not ensuring that Foo is already loaded!) The question is now how to achieve the following: Everytime the script calls "exit" (or possible die, or similar) my interpreter won't exit but the script stops running.
In Section
Seekers of Perl Wisdom
|
|