in reply to Introducing spaces between the values in a hash of hashes
for (sort keys %h2) { print join " ", $_, values %{$h2{$_}}; }
If you provide a (<code> tag delimited) copy of exactly what you'd like, we might be able to come up with a better answer.
Also, if you are relying on a special variable to format properly, you should get in the habit of explicitly localizing and initializing it to the value you want. Otherwise, spooky action at a distance may come to visit.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|