develooper Front page | perl.perl5.porters | Postings from August 2018

Re: [perl #133301] Evalulation order during concat changed

Thread Previous | Thread Next
From:
David Nicol
Date:
August 23, 2018 19:39
Subject:
Re: [perl #133301] Evalulation order during concat changed
Message ID:
18806_1535053191_5B7F0D86_18806_7_1_CAFwScO_3-0-WfywRO5t7QY7cO_6LPYrybTVkNWQMC0jdgGJhRw@mail.gmail.com
Made it shorter:


--- a/pod/perlop.pod    Mon Aug 13 11:57:05 2018 -0500
+++ b/pod/perlop.pod    Thu Aug 23 14:35:46 2018 -0500
@@ -389,6 +389,13 @@
 X<->

 Binary C<"."> concatenates two strings.
+
+A series of terms joined by  C<"."> operators are evaluated prior to
+all getting concatenated in a single operation.  Prior to version 5.28,
+aliasing issues only affected the value of the first term in a series
+of concatenations, as the left side of the second and later operations
+was the intermediate result of the previous binary operation.
+
 X<string, concatenation> X<concatenation>
 X<cat> X<concat> X<concatenate> X<.>


On Thu, Aug 23, 2018 at 1:29 PM David Nicol <davidnicol@gmail.com> wrote:

>
>  It might be too long, as it seems to state everything twice.
>
>

Thread Previous | Thread Next


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