in reply to Reality checking a win32 perl bug

Confirmed on WinXP VanillaPerl 5.8.8. Prints the two lines then has the application error dialog box.

> perl -e "sub { @_ = 3; fork ? die 5 : die 6 }->()" 5 at -e line 1. 6 at -e line 1. # App Error here # > perl --version This is perl, v5.8.8 built for MSWin32-x86-multi-thread

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.