Møøse

More Method Modifiers

override/super

override 'baz' => sub {
     my $self = shift;
     super();
     # ... do something here
 };

augment/inner

sub baz {
     my $self = shift;
     # ... do something before you subclasses do anything
     inner();
     # ... do something after you subclasses do anything
 }

augment 'baz' => sub {
     my $self = shift;
     # ... do something here 
 };
Copyright © 2006 Stevan Little