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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

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


New User

Jun 19, 2011, 11:53 PM

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


Jun 20, 2011, 10:07 AM

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