Re: [Perl/perl5] 502da7: make /p a no-op

[email protected] (demerphq) Thu, 12 Feb 2026 18:31:59 +0100
Newsgroups perl.perl5.porters
Message-ID <CANgJU+XfMUTg-fzutQxaQVMpi-dSvqd2tCiO96_8WdkeDssuhA@mail.gmail.com>
On Thu, 12 Feb 2026 at 17:21, Smylers   via perl5-porters <
[email protected]> wrote:

> Philippe Bruhat (BooK) writes:
>
> > I'm clearly out of my depth here.
> >
> > I started looking at this, because I believe that for PPC0014 (English
> > name aliases) to be complete, we want the caret long name match
> > variables to be simple aliases to the punctuation ones. Which I think
> > means /p must be a true no-op.
>
> If /p does truly become a no-op, please could the perldelta entry for it
> acknowledge that we've been here before, maybe with something along the
> lines of:
>
>   Note: C</p> was documented as being a no-op in L<perlre> from versions
>   5.20 to 5.38, but this turned out not actually to be the case, and the
>   claim was removed in the documentation for Perl 5.40. This time it
>   genuinely is a no-op, but do not rely on that before Perl 5.44.
>
> Otherwise to users who've read the previous documentation, it can sound
> like this is re-announcing an old change.
>

In 60c52570a7183b5ef77f5fdc6ba270c7560fe4d6 i changed the wording somewhat,
maybe not perfectly.

Yves


-- 
perl -Mre=debug -e "/just|another|perl|hacker/"