my $ref = \&{$coderef}; # get a reference (\&{&$ref} without the call) goto $ref; # magic goto to that reference