On Sat, Mar 03, 2012 at 02:42:35PM -0500, Steve Bertrand wrote: > I've been writing a program that will perform extra work for > diagnostics upon each method call. > > As of now, I need to write a call to an outside function manually > into each method. To automate this so the original methods don't > need to be modified, I'm going to scoop up the code globs, modify > them, then reinstall them back into the class.
Perhaps you might like to look at Moose, and in particular the method modifiers? -- Paul Johnson - [email protected] http://www.pjcj.net -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
