On 14 May 2017 at 00:33, Ãvar Arnfjörð Bjarmason <avarab@gmail.com> wrote: > diff --git a/pod/perldelta.pod b/pod/perldelta.pod > index 06f68311fb..c8dc2b81a3 100644 > --- a/pod/perldelta.pod > +++ b/pod/perldelta.pod > @@ -82,6 +82,11 @@ C<%{^CAPTURE}> is the equivalent to C<%+> (ie named captures) > > C<%{^CAPTURE_ALL}> is the equivalent to C<%-> (ie all named captures). > > + ^ This really needs a note about what this is actually for. Is it > + just so you can get an array of all matched params? Why would you > + use a more verbose synonym like %{^CAPTURE} instead of %+ in your > + code? > + Same reason, that people use, or dont use, English.pm. Whenever I have added a new punctuation var I have also added a long form caret name. (As that way it is usable without use English without collisions as caret identifiers are reserved for Perl.) I was under the impression that this was more or less required (albeit by tradition not documentation). So to me this is just completeness/conformance to established expectation. I mean, we get a lot of flack about line noise you know? FWIW, I don't recall if that was actually new, or if it existed from the beginning but was not properly documented. I suspect the latter. YvesThread Previous | Thread Next