Info for ID=21: $VAR1 = { 'country' => 'US', 'sal' => '23', 'post' => 'lawyer', 'name' => 'hhdh', 'id' => '21', 'income' => '0', 'address..$#number_of_columns' => 'GA' }; Info for ID=22: $VAR1 = { 'country' => 'US', 'sal' => '24', 'post' => 'perl programmer', 'name' => 'shjhds', 'id' => '22', 'income' => '999999999999', 'address..$#number_of_columns' => 'TX' }; Programmer is ID# 22