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.
In reply to Re^5: Net::Ping output
by vinoth.ree
in thread Net::Ping output
by gaurav
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |