[OT] Wrapping methods

Eden Cardim edencardim at gmail.com
Mon Jul 6 20:49:23 BST 2009


On Mon, Jul 6, 2009 at 2:24 PM, Joel Bernstein<joel at fysh.org> wrote:
>> Basically, the fun is that I'd like to do something equivalent to invert
>> the
>> order of inheritance, such that the parent's &run seems to be called
>> first,
>> and it can "SUPER" delegate to its child.
>
> That's exactly what the augment/inner feature of Moose provides, if I've
> understood you correctly.

For an alarm I'd say a "before" modifier would be better than a
wrapper of any sort.

-- 
   Eden Cardim       Need help with your Catalyst or DBIx::Class project?
  Code Monkey                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://edenc.vox.com/            http://www.shadowcat.co.uk/servers/


More information about the london.pm mailing list