http://www.perlmonks.org?node_id=864099


in reply to Control Flow - Multiple returns or nested conditionals

My preference is the nested conditionals. It encourages and facilitates reviewing the entire logical flow if/when you add other conditions. With multiple return points, if the code was modified extensively over time, I would worry about ending up with orphaned parts of the code.