in reply to Re^4: exit this way
in thread exit this way

Just what I said; completeness, avoiding accidental code being run somewhere left out, separation of concerns in the script, you know where the main logic ends without reading 1,000 lines of subroutines; I’ve been doing it for 15 years and it’s served me well. Consider closing filehandles—unnecessary, but also a good idea.

Replies are listed 'Best First'.
Re^6: exit this way (why)
by tye (Sage) on Sep 01, 2015 at 01:00 UTC
    I’ve been doing it for 15 years and it’s served me well.

    Me too. Yep, about 15 years. :)

    Well, I'd been doing it for a while before posting about it 15 years ago. The link includes some explanations about why I did. And, yes, I still do it.

    - tye