in reply to Re^4: Beyond Inside-Out
in thread Beyond Inside-Out
In general, the Alter-approach assumes that methods are compiled in the class their name resides in.
That assumption breaks badly for classes that "mix-in" methods from other modules. Plug-ins (e.g. many of the web frameworks) would be a good example of this kind of thing, where a class imports one or more methods from the plug-in.
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Beyond Inside-Out
by Anno (Deacon) on May 30, 2007 at 14:10 UTC | |
by xdg (Monsignor) on May 30, 2007 at 14:46 UTC | |
by clinton (Priest) on May 30, 2007 at 15:17 UTC | |
by xdg (Monsignor) on May 30, 2007 at 18:17 UTC | |
by clinton (Priest) on May 30, 2007 at 18:28 UTC | |
| |
by Anno (Deacon) on May 30, 2007 at 18:12 UTC |