in reply to Re: Re: goto and AUTOLOADed methods
in thread goto and AUTOLOADed methods

I guess the real point of most of the responses to your original question is that there isn't really that much difference between OO methods and non-OO subs. The "method" syntax is just that -- a bit of syntactic sugar to help people think objectly (object-oriently?)

If you want to use goto in your AUTOLOAD and have your method think the method was called by the caller of AUTOLOAD, just do it and it will DWYM.

  • Comment on Re: Re: Re: goto and AUTOLOADed methods