Greenhalgh David wrote:
If I am reading this correctly (which I am probably not!) you need
another foreach loop in there somewhere. When you compare $file with
$lines, you are trying to compare the contents of @temp. I think you
need to wrap your comparison with a foreach loop:
foreach $file (
If I am reading this correctly (which I am probably not!) you need
another foreach loop in there somewhere. When you compare $file with
$lines, you are trying to compare the contents of @temp. I think you
need to wrap your comparison with a foreach loop:
foreach $file (sort readdir (DH)) {
I m trying to read the files in a directory and match them with a same file names in
text list.
Below given are the couple of lines, but I am unable to get the results, rather
getting the same line repeated
This fileno1 does NOT found in directory but its in the list
This fileno2 does NOT found