Graham Barr wrote: > > On Wed, Apr 10, 2002 at 01:35:22PM -0400, Mark J. Reed wrote: > > On Wed, Apr 10, 2002 at 10:30:25AM -0700, Glenn Linderman wrote: > > > method m1 > > > { > > > m2; # calls method m2 in the same class > > Yes, but does it call it as an instance method on the current invocant > > or as a class method with no invocant? If the former, how would you > > do the latter? > > This may be a case of keep up at the back, but if that is a method call, > how do I call a subroutine from within a method ?
The same way. If there is a name conflict between subroutine and methods, then you qualify the subroutine name... ::m2; # calls global subroutine main::m2 main::m2; # calls global subroutine main::m2 -- Glenn ===== Remember, 84.3% of all statistics are made up on the spot.