my $thr0 = threads->new(\\&scan, "$net@ip[0..63]", $port); # ^^