Link to home
Start Free TrialLog in
Avatar of Blowfelt82
Blowfelt82

asked on

File Search and contents scan with Perl

I have a list of file names in a text file and what I need to do is check whether the file exists in a directory and/or any of its sub-directories (the parent directory is remote if that makes a difference so I am using a path like '\\computer\share$\parent'. If the file exists I want to be able to read the file and look for certain string patterns using regular expressions. This has to be done in Perl but I am a complete novice!

This process will be running over a huge amount of files so needs to be quite efficient and close any unused resources if there are any... Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of Lee Wadwell
Lee Wadwell
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial