We don't bite newbies here... much | |
PerlMonks |
Re: Nonroot ping with Net::Ping::External (was: Re: packet types & ports)by Kozz (Friar) |
on Sep 24, 2002 at 14:21 UTC ( [id://200377]=note: print w/replies, xml ) | Need Help?? |
blm: Thanks for the suggestion, btw!
Originally I tried parsing the output directly from /bin/ping but the script spewed an error about execute permissions of ping from within the script. THAT's why I had pursued Net::Ping, though only the ICMP worked as root. I tried Net::Ping::External and it worked like a charm, no setuid bit or anything needed. Worked sweet. Thanks again.
In Section
Seekers of Perl Wisdom
|
|