It's been a while since I tangled with threads, but the above quiets the warnings with 5.10 on Win32.use strict; use warnings; no warnings qw[threads]; use threads; my $thread1 = new threads(\&my_sub); my $thread2 = new threads(\&my_sub); sub my_sub {} exit; # needs explicit exit for reasons beyond me
In reply to Re: Suppressing thread warnings
by SankoR
in thread Suppressing thread warnings
by lennysan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |