in reply to Re: Re: Not writing to file
in thread Not writing to file

Doh! Thanks... that's what I get for copying from two scripts and not re-re-re-re-reading.
system `ping -c 1 192.168.1.$n`;

Should be:
print `ping -c 1 192.168.1.$n`;

- FrankG