On 03/03/2012 02:42 PM, Steve Bertrand wrote:
I've been writing a program that will perform extra work for diagnostics upon each method call.
attributes can do that for each sub. there are modules that let you call code before/after each method call. or class techniques that allow that.
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.
that is not for beginners nor it is an easy thing to do. use something which is working already.
also what diagnostics do you need for this? i just don't see a need for such introspection.
uri -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/