$var .= join ', ', @stuff; $var .= ', ' . 'more stuff' if $moreStuffNeeded;