my @dup_array = qw\sridhar sridhar guru chan guru hubli hubli hubli hu +rryo\; my %unique_hash; foreach my $x (@dup_array) { $unique_hash{$x} = 1; } @dup_array = keys %unique_hash; print "\n\n\n@dup_array";
Sridar, I love you as a fellow human being, but please use <code> </code> HTML tags around your code. You are killing me.
I see choroba's note, but I can't help it.
In reply to Re^3: Removing Duplicate Array Elements!!!
by Anonymous Monk
in thread Removing Duplicate Array Elements!!!
by dnickel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |