Hi
I have a script that open a file , do some actionsa and close the file.
In the "do some actions" section I check some conditions and can exit the script with error(1) WITHOUT close the file ( cause in the script , I did not get there yet ...)
Does Perl close the file automitacally ?
OR should I create an EXIT sub that will close the file and then will exit(1) ?
Thanks( as usual )
I have a script that open a file , do some actionsa and close the file.
In the "do some actions" section I check some conditions and can exit the script with error(1) WITHOUT close the file ( cause in the script , I did not get there yet ...)
Does Perl close the file automitacally ?
OR should I create an EXIT sub that will close the file and then will exit(1) ?
Thanks( as usual )