in reply to recursive hash layer removal question
you'd end up losing the duplicate 'c' value. Is this a situation that might occur and needs to be anticipated somewhat?(gotta love making things more complicated :P)my %tree = ( 'x' => { 'a' => 99, 'b' => 99, 'c' => 99, } 'y' => { 'c' => 99, 'd' => 99, 'e' => 99, } )
Remember rule one...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: recursive hash layer removal question
by wertert (Sexton) on May 11, 2005 at 15:01 UTC | |
by wertert (Sexton) on May 11, 2005 at 17:12 UTC |