in reply to Regex to parse netstat output
Just two cents worth - but you if you want to break out of relying on a call to an external program, there's ncheck.pl (http://search.cpan.org/src/OPITZ/ncheck/ncheck.pl) and Network::Discovery::Scan (http://search.cpan.org/~tscanlan/NetworkInfo-Discovery-0.12/lib/NetworkInfo/Discovery/Scan.pm) to consider for more "pure" perl solutions (less hacking with a regex too :) ).
"I have never written bad code. There are merely unanticipated features."
"I have never written bad code. There are merely unanticipated features."
In Section
Seekers of Perl Wisdom