if (subroutine()) { # if the return value of subroutine is "true" (see reference above) exit 0; # success } else { exit 1; # failure } #### exit subroutine(); #### perl -e 'print "How sweet does a rose smell? "; chomp ($n = ); $rose = "smells sweet to degree $n"; *other_name = *rose; print "$other_name\n"'
## exit subroutine(); ##
## perl -e 'print "How sweet does a rose smell? "; chomp ($n = ); $rose = "smells sweet to degree $n"; *other_name = *rose; print "$other_name\n"'