Using Net::Ping in a CGI script

2006-12-22 Thread Nathan Gibbs
The Program: I have a Perl script that reads a list of hosts from a file, uses Net::Ping to check them with the icmp protocol, then writes an HTML status report into a file on my apache server. This script is run every minute by cron. The Original Problem: I usually use the status report

Re: Using Net::Ping in a CGI script

2006-12-23 Thread Nathan Gibbs
* zentara wrote: > On Fri, 22 Dec 2006 13:17:33 -0500, [EMAIL PROTECTED] (Nathan > Gibbs) wrote: > > >> The current Problem: >> Net::Ping won't do icmp as a non root user. I RTM, which said that >> if I suid'ed ( Hmmm is that a word ?? )the script it

Re: Data Conversion ?

2009-11-07 Thread Nathan Gibbs
* Alexander Krasnorutsky wrote: > On Fri, 2009-11-06 at 17:21 -0500, Nathan Gibbs wrote: >> How would I get the length of a string as returned by length () into >> >> a 4 byte unsigned integer in network byte order >> >> Thanks >> >> > > It&#x