in reply to put a array value into string.

Access the first element of the array like this:

my $string = $array[0];