in reply to Not a CODE reference … my 1st script
push @device_thread, threads->new(sub {thread_job($key, $device_ip{$ke +y}, $index)})->join; [download]