in reply to perl.exe crash in win32 with use of fork and sockets

Perl on Win 98 does not support forking so you are forked so as to speak. Sorry to be the bearer of bad news.

Update

crazyinsomniac says the latest builds of winblows perl (for the last 6 months at least), all emulate fork on winblows (and that's why you can't rely on it).

Ouch, out of date and wrong all in one sentence. /msg me Get with the program :-Þ

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

  • Comment on Re: perl.exe crash in win32 with use of fork and sockets

Replies are listed 'Best First'.
Re: Re: perl.exe crash in win32 with use of fork and sockets
by Amoe (Friar) on Aug 05, 2001 at 05:42 UTC
    Blah, my Win98 box forks (no, not in the "barfs" sense, but that too ;)) all the time... Wonder what's different.

      Hmm, crazyinsomniac and Amoe are right. I am wrong. You can fork on Windows these days, at least using AS Build 620 on Win95.

      C:\>type fork.pl #!/usr/bin/perl -w defined(my $pid = fork()) || die "Can't fork!"; print $pid ? "Parent\n" : "Child\n"; C:\>perl fork.pl Parent Child C:\>

      This is news to me. Thanks crazy and co this is forkin good to know.

      cheers

      tachyon

      s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print