Interesting, it doesn't quite crash on my machine. If you're using ActiveState - read up on perlfork - it's still in experimental stages. You may want to use the Thread library instead.
Comment on Re: perl.exe crash in win32 with use of fork and sockets