Programming with Moose/Syntax/override
To override a function use the Moose keyword override.
override 'target' => &with; ##-or- override 'target' => sub {};
An Example
Exports to override
super
Super passes the original @_. If you want to alter the args (@_), see around().
Last modified on 20 July 2009, at 08:18