in reply to Re^3: Useless use of string in return statement
in thread Useless use of string in return statement

I believe TheDamian suggested it in the excellent style guide PBP. It’s one of the few suggestions in the book I oppose. Post-fix conditionals are, to me, extremely natural language. If kept terse and indented properly, they make code more readable.

  • Comment on Re^4: Useless use of string in return statement

Replies are listed 'Best First'.
Re^5: Useless use of string in return statement
by Bod (Parson) on Apr 13, 2021 at 15:20 UTC

    It's a book that has sat on my bookshelf for many, many years. I did once delve into it and concluded it was beyond me. Having increased my understanding and exposure to Perl quite a bit since then, I have moved it from bookshelf to desk and shall take another look...