my $state = { username => $username, sessionid => $sessionid, whatever => $else, }; &one($state, $other_args); &two($state, @more); &three($state);