print "you were asking for it!" unless $nice; # or a return statement, # when you just need to check a requirement # in the middle of a sub sub hello { return "get lost" unless $nice; # more statements return "hi" }