Hi all,
Sorry for this newbie question. I want to open a file, and if the file is not present in the path, I want to create it automatically instead of displaying an error.
I can do open(TESTFILE, ">$groups_file"). This creates the file if it is not present. This is for output into the file.
But I am opening the file to read and not to write into it.
Pls give me any suggestions.
-Vid.