in reply to Re^2: Windows pipe error
in thread Windows pipe error

Check this discussion.
This nice article about forking in perl, might be useful, also.