goto &{$_[0]->{state} = \&stateReadLit}; #### $_[0]->{state} = \&stateReadLit; # assign the coderef to the stateReadLit subroutine to the 'state' element of the hash referenced by $_[0] goto &stateReadLit; # or goto &{ $_[0]->{state} };