in reply to Methods, within a class, pass callbacks; how to deal with that in derived class?
Probably with Class::Method::Modifiers?
package Foo; use parent 'CAM::PDF'; use Class::Method::Modifiers; around 'setObjNum' => sub { my $orig = shift; my $ret = $orig->(@_); # frob… return ...; };
|
|---|