Do what you are asked and not something of your own invention - especially when you don't understand what you are doing!
Run exactly the code ikegami asked you to run at the point where your
my @found_files = grep (/$_jobcard_basename/,@temp);
line is (replace the line with ikegami's code).
In reply to Re^3: A question in grep
by GrandFather
in thread A question in grep
by kprasanna_79
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |