in reply to Re: Re: goto and AUTOLOADed methods
in thread goto and AUTOLOADed methods
Ok, I fixed that. Just grab the first argument as $_[0], do whatever you want with it to figure out what method you need to call, require other modules, build a new sub, etc., then just use goto to call the method you want with the arguments (including the object) intact. The goto will mimic a method call just like you want it to.