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

[email protected] ("Smylers  " via perl5-porters) Thu, 12 Feb 2026 17:20:50 +0100 (CET)
Newsgroups perl.perl5.porters
Message-ID <[email protected]>
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.

Smylers