in reply to Read through directory and return matched data
Second, your path to files might need to be prepended with $dir, as you did in the readdir
#{ open FH, "$file"; { open FH, "$dir/$file"; # instead, possibly?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Read through directory and return matched data
by JonDepp (Novice) on Nov 09, 2010 at 16:58 UTC |