>
>@a = (1,2,3,4,2,3,5);
>
>print "---> @a\n";
>my %b = undef;
>foreach (@a){
>
>    print "--- $_";
>   $b{$_} =undef;
>}
>
>@a = keys(%b);
>
>print "\n### @a";
>

Hmm,that will break the order of the original array.

--
Jeff Pang
EMAIL: [EMAIL PROTECTED]  AIM: jeffpang

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to