sub foo { if (2) { 3 # <- Last statement executed } } # Foo returned 3.