bsb has asked for the wisdom of the Perl Monks concerning the following question:
[perl #39145] [RESOLVED] win32, @_ and fork crashing in dounwind
I'd just want to check that what seems to be to be a bug occurs for others and isn't already perlbugged. I'll perlbug it once confirmed. On Windows 2000 with ActivePerl 5.8.8, the following produces an application error:
perl -e "sub { @_ = sub {@_}->(@_); fork ? die 5 : die 6 }->(2)"
Brad
Update: It can be simpler still
perl -e "sub { @_ = 3; fork ? die 5 : die 6 }->()"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reality checking a win32 perl bug
by xdg (Monsignor) on May 16, 2006 at 11:11 UTC | |
|
Re: Reality checking a win32 perl bug
by jesuashok (Curate) on May 16, 2006 at 02:58 UTC | |
|
Re: Reality checking a win32 perl bug
by ady (Deacon) on May 16, 2006 at 04:41 UTC | |
|
Re: Reality checking a win32 perl bug
by blazar (Canon) on May 16, 2006 at 10:26 UTC | |
by xdg (Monsignor) on May 16, 2006 at 11:26 UTC |