sub F { return G(); LF: say 6; } sub G { say 2; no warnings 'exiting'; goto LF; } G();