sub foo { return 4; # <- Last statement executed 5 } # Foo returned 4.