You can't goto a reference. Have you tried goto &{$self->myFunction}?
In reply to Re: oo code ref by jwkrahn in thread oo code ref by Anonymous Monk