On Tue, Mar 21, 2017 at 02:25:02PM -0400, Brandon Allbery wrote: > On Tue, Mar 21, 2017 at 7:38 AM, ToddAndMargo <toddandma...@zoho.com> wrote: > > $Name.IO.f or $Name.IO.open(:w).close; > > fwiw I consider this a perl3_to_5-ism; it's an optimization, and a fairly > poor one for readability and maintainability, but one that used to be > fairly important (people comparing perl 5 speed to perl 6 should take note: > perl 5 used to be slow too).
It's not entirely a perl3-to-5ism. Using || and && for conditional execution dates back to Unix shell programming (long before Perl existed); Perl 5 introduced the low precedence "or"/"and" versions of the operators. Pm