|XP is just a number|
RE: File Input and Outputby LeGo (Chaplain)
|on Aug 02, 2000 at 18:02 UTC||Need Help??|
I wanted to add a bit that I have learned to help you when you start to program and have errors.
It is always good to make sure the file you are opening opens. Because if it doesn't the program will just keep running with no errors and you will not get your desired results. The easiest way to do this is.
Then as you program more you will probably do something more like this in all of your programs.
And then at the end of your code where you put your subs put this.
Another thing that is good to do is to make sure that your close is successful.
And as before you can write special subroutines to help specify your error for closing. This is very helpful when writing CGI scripts and making them look good when they do not open or close files.