develooper Front page | perl.beginners | Postings from December 2002

unique elements in an array...complex data

Thread Next
Ben Crane
December 2, 2002 03:46
unique elements in an array...complex data
Message ID:


@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

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?


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About