in reply to Question about suid root perl programs
You could use sudo. Sometimes a C wrapper can help too. In your case can you use the system ping?