my $string = join '', @temparray; # or even