On Mon, 2005-03-07 at 12:17 -0500, Josh Narins wrote: > No. That would only ever compare the first string (the one set to last) > to $_. I did test mine. That's exactly what's happening now. You set $last once to the first line, and than always compare $_ to $last. There are other errors too, btw. E.g. try aa a aa with your script. Regards, Bruno.