Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: How do I subclass DB?

by larryk (Friar)
on May 10, 2005 at 13:03 UTC ( #455549=note: print w/replies, xml ) Need Help??

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 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"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://455549]
[haukex]: You can put it in SOPW, but use <readmore> tags
[haukex]: Also you might want to label it "code review"
[haukex]: Unless you have specific questions, in which case SSCCE's are much better
[cbeckley]: Excellent, thank you.
[cbeckley]: CUFP is more appropriate for stuff that's finished^h^h^h^h more advanced state of completeness?

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-03-24 15:10 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (304 votes). Check out past polls.