
franzramadhan
New User
Jun 19, 2011, 11:53 PM
Post #1 of 2
(1879 views)
|
|
Perl Regex to Grep Ping6 Result
|
Can't Post
|
|
Hi everyone, I'm new to this forum and I really want to know deeply about perl, My first question is, I have a ping.pl script, that I use to get and grep the ping result from several hostname or ip. My office upgrade it's IP into IPV6, so I use Data::Validate::IP to check whether it ipv4 or ipv6 , The problem is, I didnt find any Perl Module that support ping6 like Net::Ping for ipv4. So I use ping6 command from linux it self to get the ping result, My question, could I use regex to get ping output whether it request time out, reply, or destination unreachable?? Thanks in advance, Franz
|