CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Regular Expressions:
Perl Regex to Grep Ping6 Result

 



franzramadhan
New User

Jun 19, 2011, 11:53 PM

Post #1 of 2 (2830 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


miller
User

Jun 20, 2011, 10:07 AM

Post #2 of 2 (2824 views)
Re: [franzramadhan] Perl Regex to Grep Ping6 Result [In reply to] Can't Post

Searching cpan for ping ipv6 suggests that the following module might serve: AnyEvent::FastPing

- Miller

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives