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 ...; };
In reply to Re: Methods, within a class, pass callbacks; how to deal with that in derived class?
by karlgoethebier
in thread Methods, within a class, pass callbacks; how to deal with that in derived class?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |