On Thu, Jul 05, 2001 at 08:42:52AM -0500, David M. Lloyd wrote: > Exactly what is a plugable runops function? Is that something that exists > in perl today (5.6)? Is there an API interface to it? It is a feature that Malcolm added when he first started on the compiler stuff, if I remember correctly. However, it does appear to be rather sparsely documented (in other words I can't find any reference to it in the core.) I believe Malcolm used it in an opcode profiler module, probably on CPAN somewhere, and I have used it in Devel::Cover also on CPAN. Its actually fairly simple, you write your own runops function and tell Perl to use it. See Cover.xs in Devel::Cover for a working example. I'm busy looking for a job at the moment, but I may find some time to document it if no one else does. -- Paul Johnson - paul@pjcj.net http://www.pjcj.netThread Previous | Thread Next