Re: issue with a multidimensional hash .. unable recreate the desired hash

2011-06-04 Thread Shlomi Fish
On Saturday 04 Jun 2011 14:44:11 Agnello George wrote: > hi > i have the following hash as out put from a sql query > > VAR1 = [ { '16' => { 'srch_type_id' => '162', 'rid' => '2' }, '13' => { > 'srch_type_id' => '123', 'rid' => '1' }, '17' => { 'srch_type_id' => > '147', 'rid' => '2' }, '15' =>

issue with a multidimensional hash .. unable recreate the desired hash

2011-06-04 Thread Agnello George
hi i have the following hash as out put from a sql query VAR1 = [ { '16' => { 'srch_type_id' => '162', 'rid' => '2' }, '13' => { 'srch_type_id' => '123', 'rid' => '1' }, '17' => { 'srch_type_id' => '147', 'rid' => '2' }, '15' => { 'srch_type_id' => '135', 'rid' => '1' }, '14' => { 'srch_type_id