open(FILE, ">/tmp/blah") || die "Can Not Open File\n"; for my $n (1 .. 10) { print FILE `ping -c 1 192.168.1.$n`; } close (FILE);
In reply to Re: Not writing to file
by japhy
in thread Not writing to file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |