There's more than one way to do things | |
PerlMonks |
Re: One-liner to join keys on a two-dimensionnal hash ?by johngg (Canon) |
on Dec 29, 2021 at 15:11 UTC ( [id://11140010]=note: print w/replies, xml ) | Need Help?? |
Perhaps a bit simpler with values since the second-level hashes you are getting the keys of are the values of the first-level hash. However, if order is important you will have to sort keys in some fashion.
I hope this is helpful. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|