sub do_stuff { ... do_other_stuff($variable); # remove that debugging statement, and do_other_stuff # will behave very differently if do_stuff is not # called in void context print "still here\n"; }