in reply to Re: Transform hash elements into a stringin thread Transform hash elements into a string
my @pairs = (); while ( my ($key,$value) = each %hash) { push @pairs, $key . ' => ' . $value; } print join(', ', @pairs); [download]