Ovid wrote:
--- Sam Vilain <[EMAIL PROTECTED]> wrote:

However I
am yet to see anything other than a monkeypatch on Ovid's journal,
and an incomplete patch linked earlier on the thread.

Care to explain the term 'monkeypatch'?

I've always heard of it as injecting code into someone elses [broken] module to get things fixed or changed when subclassing is a no go:

package MyStuff;
use Someone::Elses::Junk;

*Someone::Elses::Junk::foo = sub {

};

sub foo {
   my $obj = Someone::Elses::Junk->new;
   $obj->foo(...);
};

Give or take my bad example thereof.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to