Hi,
I want to search through the current directory and all the sub directories and make an array that contains all the path names (@path_names) and an array that contains all the files names (@file_names) of files ending in ".str". I would then like to be able to open each of these files and modify them.
How would I use File::Find to do this? Am I right in assuming that I could then cycle through these arrays first opening the directory and then the file and then be able to modify each file?
Any help would be greatly appreciated!
Thanks!
I want to search through the current directory and all the sub directories and make an array that contains all the path names (@path_names) and an array that contains all the files names (@file_names) of files ending in ".str". I would then like to be able to open each of these files and modify them.
How would I use File::Find to do this? Am I right in assuming that I could then cycle through these arrays first opening the directory and then the file and then be able to modify each file?
Any help would be greatly appreciated!
Thanks!