in reply to About "thread failed to start:"
Why are you using two backslashes?
my $thr0 = threads->new(\\&scan, "$net@ip[0..63]", $port); # ^^
Remove one of them and you'll at least get past the "Not a CODE reference" error.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: About "thread failed to start:"
by hxbsy (Novice) on Apr 09, 2015 at 08:10 UTC | |
by marinersk (Priest) on Apr 09, 2015 at 12:25 UTC |