Eric Wilhelm wrote:
# from Christopher J. Madsen # on Saturday 15 March 2008 23:43:sub Module::Build::method_name { _call_method_with_hooks(@_, 'method_name') } So we'd have overhead only on the methods that actually got hooked. This is made simpler because M::B is essentially an empty class.The emptiness of M::B is where the platform-specific subclass comes into play.
This doesn't interfere with that. _call_method_with_hooks will call $builder->SUPER::method_name to let the platform-specific subclass do its work. (Unless a plugin decided to override.)
We certainly could introduce a new empty class, but I don't see the need. -- Chris Madsen [EMAIL PROTECTED] -------------------- http://www.cjmweb.net --------------------
