in reply to Re^3: need to remove the extra line in regular expression
in thread need to remove the extra line in regular expression
Look at line 8 of your code, this print should be inside the if statement to achieve the result you expect.
Simply replace line 13 with print "$arr[0] => $ipaddr\n";
|
|---|