Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: New Module Announcement: Object::InsideOut

by Ovid (Cardinal)
on Nov 01, 2005 at 00:01 UTC ( #504448=note: print w/ replies, xml ) Need Help??

in reply to New Module Announcement: Object::InsideOut

I see you're using a CHECK block. This means it has the same fatal flaw as Class::Std. Namely, it won't run under mod_perl. Do you have any plans to get around this issue or is there something I'm not seeing?


New address of my CGI Course.

Comment on Re: New Module Announcement: Object::InsideOut
Replies are listed 'Best First'.
Re^2: New Module Announcement: Object::InsideOut
by jdhedden (Deacon) on Nov 01, 2005 at 12:47 UTC
    Thank you for bringing this to my attention. I have developed a solution for this issue and have uploaded it to CPAN. The solution entailed packaging all the CHECK phase code into a subroutine. For regular usage, this will get run during the CHECK phase.

    For code run under mod_perl, or code that is loaded at runtime using require, the subroutine will be called when the first object is created.

    In all cases, initialization occurs as necessary and is completely transparent.

    I was not able to test this under mod_perl, but it works properly for runtime loaded code.

    Remember: There's always one more bug.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://504448]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2015-11-28 16:13 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (743 votes), past polls