RE: removing duplicate array values

2004-04-21 Thread Jeff 'japhy' Pinyan
On Apr 21, Bob Showalter said: >Jeff 'japhy' Pinyan wrote: >> On Apr 21, Bob Showalter said: >> > There's a Tie::Array::Unique module on CPAN which gives you a lot >> > more flexibility in handling this kind of thing. >> >> I agree (says the author of the module). It maintains the uniqueness >> t

RE: removing duplicate array values

2004-04-21 Thread Bob Showalter
Jeff 'japhy' Pinyan wrote: > On Apr 21, Bob Showalter said: > > There's a Tie::Array::Unique module on CPAN which gives you a lot > > more flexibility in handling this kind of thing. > > I agree (says the author of the module). It maintains the uniqueness > throughout the life of the array, so yo

RE: removing duplicate array values

2004-04-21 Thread Jeff 'japhy' Pinyan
On Apr 21, Bob Showalter said: >Peterson, Darren - Contractor.Westar wrote: >> I'd like to remove duplicate values from an array to leave it with >> only unique values. For instance, if an array contains >> (1,2,3,1,4,2,5) as values, I'd like to clean out the extra 1 and 2 to >> leave the values

RE: removing duplicate array values

2004-04-21 Thread Thomas Bätzler
Peterson, Darren - Contractor.Westar asked: > I'd like to remove duplicate values from an array [...] This is a FAQ. Run "perldoc -q duplicate" for the answer. HTH, Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: removing duplicate array values

2004-04-21 Thread Bob Showalter
Peterson, Darren - Contractor.Westar wrote: > I'd like to remove duplicate values from an array to leave it with > only unique values. For instance, if an array contains > (1,2,3,1,4,2,5) as values, I'd like to clean out the extra 1 and 2 to > leave the values as (1,2,3,4,5). Does perl have an ar

RE: removing duplicate array values

2004-04-21 Thread Shaw, Matthew
Hi Darren, -Original Message- > I'd like to remove duplicate values from an array to leave it with only > unique values. For instance, if an array contains (1,2,3,1,4,2,5) as > values, I'd like to clean out the extra 1 and 2 to leave the values as > (1,2,3,4,5). Does perl have an array c

Re: removing duplicate array values

2004-04-21 Thread James Edward Gray II
On Apr 21, 2004, at 8:24 AM, Peterson, Darren - Contractor.Westar wrote: I'd like to remove duplicate values from an array to leave it with only unique values. For instance, if an array contains (1,2,3,1,4,2,5) as values, I'd like to clean out the extra 1 and 2 to leave the values as (1,2,3,4,5).

Re: removing duplicate array values

2004-04-21 Thread Paul D. Kraus
On Wednesday 21 April 2004 09:24 am, you wrote: > I'd like to remove duplicate values from an array to leave it with only > unique values. For instance, if an array contains (1,2,3,1,4,2,5) as > values, I'd like to clean out the extra 1 and 2 to leave the values as > (1,2,3,4,5). Does perl have a

removing duplicate array values

2004-04-21 Thread Peterson, Darren - Contractor.Westar
I'd like to remove duplicate values from an array to leave it with only unique values. For instance, if an array contains (1,2,3,1,4,2,5) as values, I'd like to clean out the extra 1 and 2 to leave the values as (1,2,3,4,5). Does perl have an array command to do that, or must the process be purel