in reply to Re^4: Adding text file data to hashes and array
in thread Adding text file data to hashes and array
That is the default Data::Dumper format. Use either
$Data::Dumper::Useqq = 1; print Dumper \%hash;
or dump the values as your original post.
pojfor my $key (sort keys %hash) { printf "%-12s %s\n",$key,join ' ',@{$hash{$key}}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Adding text file data to hashes and array
by Anonymous Monk on Feb 15, 2019 at 12:05 UTC | |
by poj (Abbot) on Feb 15, 2019 at 13:01 UTC |