> The hash-keys version would probably be a bit faster: > > @unique = keys %{ > my %set; > @set{ @arr } = (); # fast! > \%set; > };
One question why doesn't use strict; complain about @set? Dan > > But karma is more important than (a smidgen of) speed. > > -- > Steve > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]