in reply to Perl Concatenate vs Append Operator
Hi,
just as an addition. Compare the output of:
perl -MO=Terse -E'my $str = "McA"; $str = $str . " ";'
and
perl -MO=Terse -E'my $str = "McA"; $str .= " ";'
So the internal way of handling this (tried with Perl 5.10.1) is the same.
Regards
McA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Concatenate vs Append Operator
by Anonymous Monk on Aug 19, 2014 at 18:08 UTC | |
by McA (Priest) on Aug 19, 2014 at 18:47 UTC | |
|
Re^2: Perl Concatenate vs Append Operator
by Laurent_R (Canon) on Aug 19, 2014 at 21:32 UTC |