"zentara" <[EMAIL PROTECTED]> wrote in message > . . > I'm not an inline expert, but I use IPC::Open3 quite often, so this > caught my attention. I tried running your script with Perl 5.8.8 and > there was NO error.
I also got no error on both linux (perl 5.8.8) and Win32 (perl 5.8.8). On Win32, I had to change '/dev/null' to 'nul', and change 'ls' to 'dir'. > > I'm running linux. > Summary of my perl5 (revision 5 version 8 subversion 8) configuration: > > Maybe you need to upgrade? > I was thinking it might be a Mac OS X issue - but, yes, upgrade first, then submit a perlbug report if the problem persists. I'm not familiar with IPC::OPen3, but I expected that if I changed: my $dev_null = '/dev/null'; to: my $dev_null = 'somefile.txt'; then the output of 'ls' (or 'dir', in the case of Win32) would appear in 'somefile.txt'. On both linux and Win32, somefile.txt was created, but nothing was written there. Maybe that's the way it's supposed to work ... I don't know. Cheers, Rob