FYI, using an arrow dereference in the eval seems to work without crashing (even if you pass the argument list.)
my $result = eval { $block->(@_) };
So it's something in the special magic of &$block that's probably triggering it.
-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.
In reply to Re: Perl Bug in Windows Fork Emulation?
by xdg
in thread Perl Bug in Windows Fork Emulation?
by DrWhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |