On Sat, 19 Feb 2005 00:27:57 +0000, Nicholas Clark <[EMAIL PROTECTED]> wrote: > Currently IPC::Run fails tests with PERL_UNICODE set and a UTF-8 locale. > The appended patch is one way to fix this. I'm not sure if it's the best > way, so didn't apply it. Thoughts?
This looks good to me, except that you probably want push @perl, q(-I"../..") if $ENV{PERL_CORE}; for greater portability. > +# When utf8 is turned on via environment variables, then uc will attempt to > +# use utf8; as part of the swash initialisation. The tests here run a child > +# perl and get it to uc() strings. So that child needs to know where utf8.pm > +# is. > +push @perl, "-I../.." if $ENV{PERL_CORE};