in reply to Re^3: Storing the log file name as key/value in hash
in thread Storing the log file name as key/value in hash

Thank you so much. One last thing please need to write the output to a file as

keyValue : <comma separted values>

possibly file name with each key and value Thanks once again for your time.

  • Comment on Re^4: Storing the log file name as key/value in hash

Replies are listed 'Best First'.
Re^5: Storing the log file name as key/value in hash
by hippo (Archbishop) on May 28, 2017 at 09:13 UTC
Re^5: Storing the log file name as key/value in hash
by huck (Prior) on May 28, 2017 at 10:35 UTC
    for my $key (keys(%hash1)) {print $key.':'.join(',',@{%hash1{$key}})."\n";}