From: "Korshunov Ilya" <kosha / Kp.ru>

> What i have -  Proftpd log file in the following format  -
> Thu Jul 25 00:54:24 2002 9 host 548053 /path/to/file b _ o r login_name ftp 0
> * c
>
> I want to get all login_name's from this file, but it mut be unique...
>
> Korshunov Ilya

Apart from the hash, also see Array.uniq

Gavin