On Thursday 09 May 2002 21:32, Jarkko Hietaniemi wrote: > > +open(OUT, '>lib/B/success.pm') or skip_all( 'Cannot write fake backend > > module'); > Unportable filename.
Would File::Spec help? > > +@lines = split(/\n/, runperl( args => \@args, stderr => 1 ) ); > Portable to split on /\n/? Looking at runperl in test.pl, my guess is yes. Another option is a pattern of /[\r\n]+/, which seems to make sense for \r, \r\n, and \n. If you're happy with these, prepare for a new patch. -- c
