On Tue, Mar 21, 2017 at 02:46:43PM -0400, Brandon Allbery wrote: > On Tue, Mar 21, 2017 at 2:37 PM, Patrick R. Michaud <pmich...@pobox.com> > 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 > > > > 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. > > True, but I don't really consider shells to be full programming languages; > they exist to glue external programs together.
and FWIW, Perl was long known as a "glue language" as well. :) > If you have an actual programming language around, there's no reason to > stick to unreadable JCL-ish constructs. ...unless you have a large audience of people that are fluent in those constructs and would like to continue using them in their shiny new programming environment. Pm