develooper Front page | perl.perl5.porters | Postings from March 2021

Re: on changing perl's behavior

Thread Previous | Thread Next
From:
Andy Dougherty
Date:
March 27, 2021 21:58
Subject:
Re: on changing perl's behavior
Message ID:
20210327215845.GA4848@dendrite.phys.lafayette.edu
On Sat, Mar 27, 2021 at 05:31:53PM -0400, Dan Book wrote:
> On Sat, Mar 27, 2021 at 4:49 PM Ricardo Signes <perl.p5p@rjbs.manxome.org>
> wrote:
> 
> > $* is a nice example because it's connected to so many changes, but it's
> > not the only place we've changed defaults, either to deprecate things, to
> > remove deprecated things, or to just change behavior.  (For example, the
> > meaning of "scalar %hash" changed between v5.24 and v5.26.)  Some of these
> > changes change runtime behavior of the code, some change the legal syntax
> > of Perl.  The "only perl can parse Perl" rule will apply to these in
> > different amounts.
> >
> 
> They are nice examples for specific instances, but they each have their own
> unique circumstances and aren't great for informing a "general case" of any
> sort.
> 
> $* was used by almost nobody while it existed, for its part.

Your mileage may vary.  I *still* have stuff with $*=1 that I haven't converted.  

-- 
    Andy Dougherty		doughera@lafayette.edu

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About