use strict; use warnings; use threads; for (1..2) { threads->create(sub { undef })->detach(); }; sleep 1;