in reply to
Re: How do I subclass DB?
in thread How do I subclass DB?
Thanks, but that's not actually the problem. The Devel:: is assumed with the -d switch.
My problem is that the DB module does something as soon as it is included to organise registered debugging "clients". Unfortunately, this does not give me any time to actually register, as I have to include the code before I can subclass it (or at any rate, the register function must be defined so I can call it _to_ register).
I don't really fancy what seems to be the answer which is to doubly declare the DB package so I can step through the use of DB.pm itself in order to call register() before it inits the registered clients *ugh*.
Thanks for your suggestion, though.
perl -le "s,,reverse killer,e,y,rifle,lycra,,print"