use DBI; use threads; async { sleep 1 while 1 }->detach; # the rest of the script.