in reply to Re: Hijacking a method
in thread Hijacking a method

I was considering doing something like this, but it would require a lot of changes in the legacy code (script that's calling the object) - and I'm lazy =). I was hoping to just add a change to the beginning of the file (explicitly to the symbol table) and have the results, without going in and changing too much code.

Replies are listed 'Best First'.
Re^3: Hijacking a method
by DStaal (Chaplain) on Jun 17, 2009 at 20:08 UTC

    Not a large number of changes... perl -pi -e 's/Orig::Obj/Sub::Object/g' should do it. ;)

    But it looks like there are simpler ways.