I guess you missed the It's safer because if code gets added between the inner and outer loops later on, the new code won't be accidentally executed
in the documentation.
Your "put it in a sub" is a red herring. It doesn't add
anything (after all, your return is outside
the outer loop anyway.