|
|
| Keep It Simple, Stupid | |
| PerlMonks |
How to flatten hashes?by hoppfrosch (Scribe) |
| on Jul 14, 2005 at 03:22 UTC ( [id://474783]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.hoppfrosch has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, I'm looking for a simple way to "flatten" hashes. For example I have a hash that looks like this: What's the easiest (most elegant) way to remove the 'function' and the 'content' so that I get something like:
Thanks Hoppfrosch
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||