develooper Front page | perl.perl5.porters | Postings from May 2017

Re: Perl 5.26.0-RC1 is now available!

Thread Previous | Thread Next
May 16, 2017 06:59
Re: Perl 5.26.0-RC1 is now available!
Message ID:
On 14 May 2017 at 00:33, Ævar Arnfjörð Bjarmason <> 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, 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.


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