in reply to read value from file won't pass if exists??

Something doesn't sound correct. Run under the debugger (perl -d foo) and check that $miss really contains what you think it does (maybe there's a line ending problem and you've got an extraneous \cM a DOS-y file that chomp isn't removing, for example).

Replies are listed 'Best First'.
Re^2: read value from file won't pass if exists??
by lcollins (Novice) on Jan 04, 2005 at 14:44 UTC
    That was it. I recreated the file with vi and it worked. the problem is the file is created by another perl scipt that pings addresses. if it fails it writes to my miss file. I'll need to look at the output to this file. Thanks again.