in reply to Removing Duplicates from an Array
Something like this: ?
btw that my @addies=shift; looks like a really neat trick
coz I don`t get it ;))
GreetZ!,
print "profeth still\n" if /bird|devil/;
sub mailNaughtyUser { my @addies = shift; #my @addies=@_; ? my %Seen; foreach my $address(@addies) { next if $Seen{$Address}++; # # Do that thing you do best once on every address # } }
btw that my @addies=shift; looks like a really neat trick
coz I don`t get it ;))
GreetZ!,
- ChOas
print "profeth still\n" if /bird|devil/;
In Section
Seekers of Perl Wisdom