C:> perl -v | head -2 | tail -1 This is perl 5, version 24, subversion 0 (v5.24.0) built for MSWin32-x64-multi-thread C:> perl -V | egrep "thread.*=" useithreads=define, usemultiplicity=define C:> perl -Mthreads -le "print $threads::VERSION;" 2.07 C:> perl -Mthreads -le "async { sleep 100; } ; exit;" Perl exited with active threads: 1 running and unjoined 0 finished and unjoined 0 running and detached C:> perl -Mthreads -le "async { sleep 100; }->detach ; exit;" C:> #### $ perl -v | head -2 | tail -1 This is perl, v5.8.5 built for i386-linux-thread-multi $ perl -V | egrep 'thread.*=' config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Dversion=5.8.5 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0' usethreads=define use5005threads=undef useithreads=define usemultiplicity=define $ perl -Mthreads -le 'print $threads::VERSION;' 1.05 $ perl -Mthreads -le 'async { sleep 100; } ; exit;' A thread exited while 2 threads were running. $ perl -Mthreads -le 'async { sleep 100; }->detach ; exit;' A thread exited while 2 threads were running. $ perl -Mthreads -le 'no warnings; async { sleep 100; }->detach ; exit;' A thread exited while 2 threads were running. $