$p->close()
p
Closes network connection for this ping object. The connection can also be closed by undef $p and is automatically closed if the ping object goes out of scope.
undef $p
Copyright © 2001 O'Reilly & Associates. All rights reserved.