Stripping duplicates from a list

Dave Cross dave at dave.org.uk
Thu Jun 12 16:45:51 BST 2008


Quoting Paul Sharpe <paul at coreware.co.uk>:

> 2008/6/12 Kake L Pugh <kake at earth.li>:
>
>> What I want to do is strip out the duplicates - i.e. those strings
>> which differ only by capitalisation - but keep by preference one of
>> the versions that has a capital letter at the beginning.
>
> http://www.unix.com.ua/orelly/perl/cookbook/ch04_07.htm
>
> might give you some ideas

Or perhaps it would be better to get it from the latest edition of the  
Cookbook.

   http://safari.oreilly.com/0596003137/perlckbk2-CHP-4-SECT-7

Just sign up for the 14-day free trial in order to see the whole thing.

Dave...



More information about the london.pm mailing list