Hi, %arb=(); foreach(@contents) { $fnd{$_}=1;
} @unique=keys %arb; this gets unique values from an array...but I want to find unique records BASED on one column!. e.g. if a CSV contains road_name, road_number, etc. and I want to just check for unique values for road_name. how do i do that, as the contents of the file are dumped into an array, I don't wanna to parse then and put them into another array, it seems a waste of time, but is this the way? Ben __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]