Bob Showalter wrote:

> 
> They are the same as far as the effect on %array. But you 
> shouldn't use map() in a void context, as it constructs a 
> result list which is then thrown away. So your iterative
> approach is better.


sorry, i should have done:

my %a = map { $_ => 1 } @a;

my @unique = keys %a;


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to