in reply to Re: Class-C subnet discovery/scanner
in thread Class-C subnet discovery/scanner

I'd forgotten about podchecker - thanks! I've made it check cleanly now in podchecker.

Ooops! I did forgot the open return value, didn't I? Fixed that now. Thanks again!

The last index variables ($#lines, etc) - I was just being lazy and not coding ".scalar(@keys)." - instead putting $#keys inline was faster - just laziness, that's all. I've updated the code now to output less lazily. :-) Thanks again!

Replies are listed 'Best First'.
Re^3: Class-C subnet discovery/scanner
by jwkrahn (Abbot) on Mar 03, 2009 at 18:44 UTC

    I still get a warning when warnings are enabled:

    $ perl -Mwarnings -c 747546.pl Name "NetMon::Util::FH" used only once: possible typo at 747546.pl lin +e 63.
      Ahh yeah - missed that one through all the debug output. Quick and dirty fix added to the code above. (my $fh; ... sysopen($fh,...)) Thanks for the heads up.