Use ternary expressions with wantarray #26
Primary motivation behind this PR is to get rid of duplication of
Such construct is prone to introduce bugs when something is introduced only in one branch, so although it doesn't introduce new functionality, it just makes it little bit less likely to introduce a buggy feature.
Sorry, I'm not persuaded that the benefit outweighs the risk.
Thank you very much.