> > > > No, but given that a lot of work has been put into ithreads in V5.8 > > to make threading platform-independent (or at least functional on > > Windows) I'm surprised that a language feature like this hasn't been > > implemented. As well as that I can see nowhere in the docs > > where it mentions the lack of Windows support for this feature. > > I suppose it could be dependent on the options enabled in the Perl > > build, which are fixed for ActivePerl because it is a binary > > distribution. I'd be interested to hear if anybody has any > > knowledge in this area. > > I do believe you can fork a child with an open in Win, but i > am not sure if > it was just a matter of syntax or something else. I am going > to research > this a bit.
I just test ran the below and it worked fine. I am running Win2k Pro, AS Perl 5.6.1 build 630: code adapted from the perlipd doc -- $parent = $$; print "parent: $parent\n"; $pid = open(STATUS, "netstat -an 2>&1 |") || die "can't fork: $!"; while (<STATUS>) { #next if /^(tcp|udp)/i; } print "child: $pid\n"; close STATUS || die "bad netstat: $! $?"; --- prints: C:\test>perl test1.pl parent: 1792 child: 1648 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]