Well, you are never printing to your filehandle. You want to print the results of the ping to FILE. Also, you don't need the \n in the system() command, and you may want to look at Net::Ping.
perldoc -f print
perldoc -f system
Cheers,
KM
In reply to Re: Not writing to file
by KM
in thread Not writing to file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |