in reply to Re^4: Remove similar key=value pair from HOH
in thread Remove similar key=value pair from HOH
My question is while traversing the hash if'err' => '99' is mentioned again, it should just avoid it.No, because they are in different "sub-hashes". The first "err" key-value pair is in the hash referenced by 'params', while the second one is in the hash referenced by 'par_global'. Two different hashes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Remove similar key=value pair from HOH
by AnomalousMonk (Archbishop) on Apr 12, 2015 at 16:46 UTC | |
by vaibhav07 (Acolyte) on Apr 12, 2015 at 18:48 UTC | |
by AnomalousMonk (Archbishop) on Apr 12, 2015 at 20:31 UTC | |
by Laurent_R (Canon) on Apr 12, 2015 at 22:10 UTC | |
by LanX (Saint) on Apr 12, 2015 at 22:54 UTC |