in reply to Re^3: Net::Ping output
in thread Net::Ping output

Yes,Vinoth ..Thanks again.we have to ping particular host and gather the info like RTT(max,min,avg), packet loss etc

Replies are listed 'Best First'.
Re^5: Net::Ping output
by vinoth.ree (Monsignor) on Aug 19, 2013 at 06:25 UTC

    Thats what i am also saying, use $var = `ping -c 5 hostip` like this so $var will hold the ping command output use regex on that variable get whatever you want.


    All is well

      yes I understood,just want to confirms it that we have to open a separate process , we can't use Net::Ping package to get the desired output