in reply to Re^2: Controlling the start and endings of method calls
in thread Controlling the start and endings of method calls

But then if the 'method' was invoked as a sub from within the class it could potentially have no params, leading to a return value of -1, which would give a false positive.


Dave

  • Comment on Re^3: Controlling the start and endings of method calls

Replies are listed 'Best First'.
Re^4: Controlling the start and endings of method calls
by blazar (Canon) on Feb 02, 2006 at 18:30 UTC
    Indeed. Just to make sure: I was more brainstorming than stating claims! However this directly leads us to discuss whether it is generally (i.e. with the exclusion of possible corner cases) a good practice to call a method like a sub even from within the same class, which at first sight IMHO is not by any means, but that would bring us too far away and in this moment I'm far too tired to even try to think of it...