$socket->send($data);
use threads; use Threads::shared; sub start_thread { my @args = @_; $socket->send($data); } my $thr = threads->create('start_thread', 'argument'); $thr->join(); $thr->detach();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)