exit "Sorry, name can't be empty" if $name eq '' ;