From: Adam Akhtar Date: 2008-02-10T21:35:14+09:00 Subject: Re: Array Practice Thanks guys, i actually thought that you were doing something allong those lines but i wasnt sure if the nested block could access the parent block i.e. in a.uniq.map{|x| {x => a.select{|y| y == x}.size}} specifically the part {|y| y == x}.size} x is from the parent block. I thought the nested block couldnt see it. I was too lazy to try! Ill start to try and use collect/map find_all/select in my code a bit more from now on. moving on.... -- Posted via http://www.ruby-forum.com/.