in reply to debug the error!!!
Here's a problem (not the only problem, but probably the one you were looking for):
$/="astat.gz";$k=0 ## About line 84
Hrmmm...what is that doing there? $/ is the "Input Record Separator" and 9 times out of 10, the only thing you want to do to it is to undefine it (or set it to null). Basically, instead of separating any files read in after this by newlines, it separates it by the string "astat.gz" This is your problem - since the string "astat.gz" was not found in the file, it was read in a one long line. Quick fix: don't mess with $/.
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: RE: debug the error!!!
by vnpandey (Scribe) on Jun 17, 2000 at 11:27 UTC |