Apparently not on all functional installations of Active State:
        C:\WINDOWS>perldoc -q duplicate
        No documentation for perl FAQ keyword `duplicate' found


C:\WINDOWS>perl -v
This is perl, version 5.005_03 built for MSWin32-x86-object
(with 1 registered patch, see perl -V for more detail)



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2001 2:43 AM
To: [EMAIL PROTECTED]
Subject: Removing duplicates


Parry Troy writes:
 > Whats the easiest way to remove duplicate entries from an array?
 > 
 > @array=(a, b, b, c, d, b, a);
 > I want @array2=(a, b, c, d);

This is a FAQ. Try 'perldoc -q duplicate'.

-- 
Brian Raven
The computer should be doing the hard work.  That's what it's paid to do,
after all.
             -- Larry Wall in <[EMAIL PROTECTED]>
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to