RE: checking duplicates

2003-12-30 Thread Charles K. Clarkson
SilverFox <[EMAIL PROTECTED]> wrote:
: 
: Hi all, i'm trying to figure out how I can check
: for duplicates entries in an array and remove
: the duplicate.
 
Read perlfaq4:

How can I remove duplicate elements from a list or array?

HTH,

Charles K. Clarkson
-- 
Head Bottle Washer,
Clarkson Energy Homes, Inc.
Mobile Home Specialists
254 968-8328


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




checking duplicates

2003-12-30 Thread SilverFox
Hi all, i'm trying to figure out how I can check for duplicates entries in 
an array and remove the duplicate.

Example:
23,23,39,40,44,44
should result in:
23,39,40,44

I'm reading from a file and assigning it to an array.

Silver Fox

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