Is there a way to close all open files in the middle of executing a script?
even if the files were opened somewhere else?
At teh very least, force a flush? something.
I'm using a script that "requires" another script.
the other script opens a bunch of files, and defines some subroutines.
The original script then calls the subroutines to write to the files.
At some point, the first script does a "require" on one of the newly
generated files.
but I have to run the first script twice, because it doesn't seem
that the generated file exists when it is required. But it's there by
the time the first script is done executing.
None of these scripts are mine. the one that generates the file
is over 2500 lines long and I don't really want to try to debug it
a line at a time.
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm