Dave Mitchell wrote:
[Lots of frightening stuff snipped]
Welcome to the whacky world of perl context!
Indeed.
I don't know exactly how the debugger works - does it eventually call
back into pp_entersub to dispatch the sub 'for real'?
No, it calls DB::sub() *instead* of the real sub, and sets $DB::sub to the
name of the sub which should be called. DB::sub() is then supposed to call
this sub on your behalf, and return any values; ie a minimal one would
look like
sub DB::sub { &$DB::sub(@_) }
So the worst that will happen is that dtrace will show DB:sub being called
as well as the real sub
That would be fine.
Thanks for all your help BTW :-)
No prob. Now, if only you could convince your superiors that my
consultancy fee is a twin-CPU V20z ;-)
I'd want to convince them to supply one to me first ;-)
--
Alan Burlison
--