# %output is the hash that will be passed to Template. $output{user_details} = get_user_details( $user_id );