in reply to Grep file out of directory and read into array

"which I assume I can use grep for"

Why assume when you can look it up and test things easily? Starting point grep

"search a directory full of other directories..."

perlfaq5 How do I traverse a directory tree?, File::Find

Also, that isn't Pseudocode, if you'd run your code you'd find the errors in it.

  • Comment on Re: Grep file out of directory and read into array