Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Neither is more correct than the other. TMTOWTDI, that's all. I prefer to use the assignment operators because I think they're more intuitive and more idiomatic. And I prefer auto-increment and auto-decrement to the assignment operators. So I'd do this…
…instead of this…
…and I'd never do this…
UPDATE: I concur with Your Mother's remarks about the concatenation operator. I hardly ever use it. In most cases, there's a better way to accomplish one's string-building tasks using other methods, particularly join(). In reply to Re: Perl Concatenate vs Append Operator
by Jim
|
|