Hi
I have a folder which contains a bunch of text files. Opening a text file is easy enough, but I am struggling to open a folder using Perl.
I am pretty sure I must use File::Find though. I read about it in Perl intro but it is too confusing for a novice like me.
All I want is to open my folder an iterate through all the text files within it while doing some basic calculations within each text file, but opening the folder is where I am struggling.
The directory of the file is C:\Users\ZB\Desktop\Text Files. I have a Windows OS.
Any help would be appreciated!
In reply to Open a folder by Dr Manhattan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |