I'd do it the third way, $select_dfn .= join ', ', @columns, ''; Preference for the styles you show is a matter of taste between procedural and functional. Benchmarking might show a reason to choose between them in a particular language (like Perl).
After Compline,
Zaxo
In reply to Re: Scalar assignment with loop iterator considered bad?
by Zaxo
in thread Scalar assignment with loop iterator considered bad?
by jacques
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |