On Thu, May 29, 2003 at 10:19:27PM -0000, Daniel Yacob wrote: > I'm using Perl 5.8.0 on a Redhat 8 Linux: The usual answer to that is "try running with LANG=C" (RedHat defaults to utf8 locales which are causing trouble) But your script doesn't look like that is the problem. Annoyingly I can't replicate your described output on Debian with 5.8.0. I see 2, (the "right" answer, if I understand things correctly) not 6 (what you see, and buggy) Nicholas Clark