in reply to Re^2: script optimization
in thread script optimization
Because the die message does not include the file name.
Another reason to do so, is that when you would do it really neat, you'd also check the close calls, and you'd still have the filenames ready for the diagnostics if those fail.
A third reason for this would be that it is now easy to rewrite the script to take arguments from the command line and replace the default names.
|
|---|