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

  system `ping -c 1 192.168.1.$n`; Isn't going to do what you expect.

Replies are listed 'Best First'.
Re: Re: Re: Not writing to file
by how do i know if the string is regular expression (Initiate) on Apr 04, 2001 at 23:44 UTC
    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