in reply to Re^2: Removing Duplicate Array Elements!!!
in thread Removing Duplicate Array Elements!!!
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.
|
|---|