On Tue, Mar 21, 2017 at 7:50 AM, Elizabeth Mattijsen <l...@dijkmat.nl> wrote:
> $PathAndName.IO.open(:w).close unless $PathAndName.IO.f; This has a readability issue, though: you've buried the lede. The condition should be up front where it stands out, not hidden at the back. The wide usage of the Perl 5 "or" convention actually derives from this: both the prefix-or and postfix-unless were faster than the explicit if, but prefix-or vs. postfix-unless was judged to be cognitively a speed bump vs. a brick wall. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net