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

Re: on changing perl's behavior

Thread Previous | Thread Next
Andy Dougherty
March 27, 2021 21:58
Re: on changing perl's behavior
Message ID:
On Sat, Mar 27, 2021 at 05:31:53PM -0400, Dan Book wrote:
> On Sat, Mar 27, 2021 at 4:49 PM Ricardo Signes <>
> 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

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About