exit "Sorry, name can't be empty" if $name eq '' ; #### perl -e 'exit "foo"'; echo $?