I have an hash which looks like this when I use dumper:
{
hello => {
pqr => {
a => 455,
b => 52,
c => "hello"
},
lmn => {
a => 3,
b => 39,
c => "hi"
}
},
hi => {
suv => {
a => 21,
b => 36,
c => "well"
},
xyz => {
a => 32,
b => 56,
c => "done"
}
}
}
I would like to sort based on the value of "b".
Output should be like:
hello.lmn.b = 39 hello.pqr.b = 52
hi.suv.b = 36 hi.xyz.b = 56