In your first code block, you should probably close MISS after you are done looping through HOSTS This might be the problem. The file won't get flushed and closed until the script exits...
In the second block of code, it looks like you are pulling off the first line into $miss but aren't using $miss later (References to it are commented out.) You should probably comment that line out.
In reply to Re: Print to a file then use file content for test?
by osunderdog
in thread Print to a file then use file content for test?
by lcollins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |