还可以在导入threads模块时设置: 1 use threads ('exit' => 'thread_only'); 转载于:https://www.cnblogs.com/perl6/p/6120031.html