in reply to Re: Nmap::Scanner breaks my while loop, I think
in thread Nmap::Scanner breaks my while loop, I think
I really dont know what ->scan does upon errors. What I have tried is this:
my $results; eval{ $results = $scanner->scan("-v -sP $r[0]/$r[1]"); }; print STDERR "Error catched: $@\n" if($@);
But, this does not catch it. The while loop still ends right there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Nmap::Scanner breaks my while loop, I think
by choroba (Cardinal) on Feb 14, 2012 at 11:05 UTC | |
by jantelar (Initiate) on Feb 14, 2012 at 16:19 UTC |