I just tried it on Perl 5.14, I do not get exactly the same thing with your two one-liners:
$ perl -MO=Terse -E'my $str = "McA"; $str = $str . " ";' LISTOP (0x600153910) leave [1] OP (0x60007fdb0) enter COP (0x60006e3c0) nextstate BINOP (0x6001f1ea0) sassign SVOP (0x60006e2e0) const [3] PV (0x6001f2c08) "McA" OP (0x60006f890) padsv [1] COP (0x6001f7fe0) nextstate BINOP (0x6001f7fa0) concat [1] OP (0x600153980) padsv [1] SVOP (0x6001f7f60) const [4] PV (0x6001f2b78) " " -e syntax OK $ perl -MO=Terse -E'my $str = "McA"; $str .= " ";' LISTOP (0x600153910) leave [1] OP (0x60007fdb0) enter COP (0x60006e3c0) nextstate BINOP (0x6001f1ea0) sassign SVOP (0x60006e2e0) const [3] PV (0x6001f2c08) "McA" OP (0x60006f890) padsv [1] COP (0x6001f7f60) nextstate BINOP (0x6001539c0) concat [2] OP (0x600153950) padsv [1] SVOP (0x600153980) const [4] PV (0x6001f2b78) " " -e syntax OK
There are some differences on the ante-penultimate and penultimate lines. But I am not really able to assess whether the difference is significant. The Deparse module also gives different output for these two lines in Perl 5.14.

In reply to Re^2: Perl Concatenate vs Append Operator by Laurent_R
in thread Perl Concatenate vs Append Operator by nande9

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.