Stripping duplicates from a list

Paul Sharpe paul at coreware.co.uk
Thu Jun 12 16:32:24 BST 2008


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


More information about the london.pm mailing list