What's the easiest (most elegant) way to remove the 'function' and the 'content' so that I get something like:accesslevels' => { 'function' => { 'func1' => { 'content' => 'val1' }, 'default' => { 'content' => 'val2' } } }
accesslevels' => { 'func1' => 'val1' 'default' => 'val2' }
In reply to How to flatten hashes? by hoppfrosch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |