- # Ignore $SIG{__DIE__} just for the loop.
- $loop->localize_delete('%SIG', '__DIE__');
+ # Ignore warnings just for the loop body :
+ $loop->localize_elem('%SIG', __WARN__ => sub { });
+ # But for now they are still processed :
+ warn "This is a warning at run $run\n";