B. Fongo wrote: > Is there any other way to check array uniqueness except the Module > Array::Unique? > I'm having problems in installing these two Modules: Array::Unique and > Tie. So I'm thinking of another way to check array for replicates. > > I help will be appreciate. Thanks a lot!
You can place into a hash using a count for each item like: foreach ( @MyArray ) { $MyHash{$_}++; } foreach my $Mykey ( sort keys %MyHash) { next if ( $MyHash{$MyKey} == 1); printf "%4d %-s\n", $MyHash{$MyKey}, $MyKey; } That is one way. Not Tested. Wags ;) ********************************************************** This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. **************************************************************** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]