in reply to Re^3: Packages with subs using fully qualified class names, not always their own. (monkey patch)
in thread Packages with subs using fully qualified class names, not always their own.
my $object = OtherPackage->new(...); $object->$_extend({ some_method => sub { ... }, other_method => sub { ... }, }); return $object->some_method( $object->other_method );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Packages with subs using fully qualified class names, not always their own. (monkey patch)
by LanX (Saint) on Jul 01, 2017 at 17:26 UTC |