in reply to Re: Re^5: Installing chained methods (wrap a stub?)
in thread Installing chained methods

Hmm.. chaining sometimes refers to calling a series of methods on the same object when they are set up to return $self, so I'm not sure that'd be better. How about Class::PrePostHooks? I think that makes the idea pretty clear. As for features, since you're writing a module, it would be nice if you also had a away of removing hooks in retrospect.

Makeshifts last the longest.

  • Comment on Re^7: Installing chained methods ("hook" metaphor)

Replies are listed 'Best First'.
Re: Re^7: Installing chained methods ("hook" metaphor)
by diotalevi (Canon) on Apr 22, 2003 at 15:32 UTC

    I think pre/post muddies the waters since that isn't what this is about. During breakfast two other names occurred to me - Class::CompositeMethod / Class::CompoundMethod. Right now I'm just flipping a coin to see which one I use. Or are those names going to conflict with other concepts?

      I don't think "compound" is taken, at least in this context - sounds good to me too.

      Makeshifts last the longest.