Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Auto-generated constructors not finding correct SUPER?

by simonm (Vicar)
on Jan 10, 2005 at 19:24 UTC ( [id://421052]=note: print w/replies, xml ) Need Help??


in reply to Auto-generated constructors not finding correct SUPER?

I ran into a vaugely-related problem with SUPER last year. (1, 2, 3)

If you want to avoid string evals, another approach might be to replace the use of SUPER with NEXT or Class::MixinFactory::NEXT. These perform a similar function, re-dispatching to superclass methods, but use other techniques to search the inheritance tree. As a result, they are slower than SUPER, but might work better in your situation.

  • Comment on Re: Auto-generated constructors not finding correct SUPER?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-04-25 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found