FWIW, there are better ways to do what concatenation does… 90% of the time? Not that it’s wrong but that there are cleaner ways that are more flexible and easier to build on or manipulate or test or pass around; print join " ", @strings; for example v $string .= $_ . " " for @stuff.
There are no good or bad operators but, for me, string concatenation, while it is naturally the way a lot of think/code at first, is code smell most of the time.
In reply to Re: Perl Concatenate vs Append Operator
by Your Mother
in thread Perl Concatenate vs Append Operator
by nande9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |