sub foo { if (0) { # <- Last statement executed 1 } } # Foo returned 0. #### sub foo { if (2) { 3 # <- Last statement executed } } # Foo returned 3. #### sub foo { return 4; # <- Last statement executed 5 } # Foo returned 4.
## sub foo { if (2) { 3 # <- Last statement executed } } # Foo returned 3. ##
## sub foo { return 4; # <- Last statement executed 5 } # Foo returned 4.