in reply to split() RH-9 and PERL 5.8

You don't give any actual code examples, but I suspect that you're running into the infamous RH9/5.8.0 locale problem. In that release, Redhat set the locale to utf8 by default, eg LANG=en_US.utf8, and Perl 5.8.0 takes that as a sign to treat all input and output files as UFT8 encoded.

The two solutions to this are to remove the .utf8 suffix from any locale-related environment variables, or upgrade to Perl 5.8.1 or later.

Dave.

Replies are listed 'Best First'.
Re: Re: split() RH-9 and PERL 5.8
by Red Angel (Initiate) on May 14, 2004 at 13:27 UTC
    The specific script I'm referring to is the ufsearch program in boxenv. I know that the chword program also uses split(), but I just can't remember whether or not that was also having the same problem with RedHat 9 (though I think it was too).
      The specific script I'm referring to is the ufsearch program in boxenv
      Thats got to be the worst Perl script I have seen in many a long age! Anyway, back to the original point - does your problem go away if you change the locale or the Perl version?