develooper Front page | perl.perl5.changes | Postings from March 2023

[Perl/perl5] 60c525: perlvar.pod - fixup docs for ${^PREMATCH},${^MATC...

From:
Yves Orton via perl5-changes
Date:
March 13, 2023 20:49
Subject:
[Perl/perl5] 60c525: perlvar.pod - fixup docs for ${^PREMATCH},${^MATC...
Message ID:
Perl/perl5/push/refs/heads/blead/4d76bb-60c525@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 60c52570a7183b5ef77f5fdc6ba270c7560fe4d6
      https://github.com/Perl/perl5/commit/60c52570a7183b5ef77f5fdc6ba270c7560fe4d6
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M pod/perlvar.pod

  Log Message:
  -----------
  perlvar.pod - fixup docs for ${^PREMATCH}, ${^MATCH} and ${^POSTMATCH}

At some point someone documented they work just like $`, $& and $'
but that is not the case, they still require the /p flag or they
won't be populated. Until we can sort out the code and be sure that
we want to make them exactly the same this patch fixes the docs.





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