$out = sprintf("@tmp"); #### local $" = ''; # Don't insert spaces. $out = "@tmp"; # sprintf not needed at all. #### $out = join('', @tmp);