in reply to Print to a file then use file content for test?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Print to a file then use file content for test?
by ikegami (Patriarch) on Jan 04, 2005 at 22:47 UTC | |
by lcollins (Novice) on Jan 05, 2005 at 12:57 UTC | |
by ikegami (Patriarch) on Jan 05, 2005 at 15:23 UTC | |
by lcollins (Novice) on Jan 05, 2005 at 18:27 UTC | |
by lcollins (Novice) on Jan 06, 2005 at 14:13 UTC | |
|
Re^2: Print to a file then use file content for test?
by lcollins (Novice) on Jan 05, 2005 at 14:44 UTC | |
by lcollins (Novice) on Jan 05, 2005 at 18:28 UTC |