The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I am still trying to figure out what the code is doing. But i noticed you opened short_sequence_* for output and then use it for read?
You want to either close that file before you read or don't write out, just put it in an array (if the file is small enough) Can you try close (OUT_NORM) or die $!; before you call make_files();? -SK update: Here is an example on what will happen if try to re-read non-closed files
the output right now is
however if you comment out close(OUT) you will not see any output. hopefully this fixes your issue!
In reply to Re: What is the problem of subroutine "make_file" in my code?
by sk
|
|