in reply to Re^2: Unique elements in array
in thread Unique elements in array

The popular misuse of chomp() deserves a new topic. As for $fld[0] - defined( unique{ $fld[0] } ) will be true in the case you cite.

There might be functional issues or data quality issues in any real example but these are in general OT.

__________________________________________________________________________________

^M Free your mind!