"Consider initializing @files outside of your if condition".
Indeed. And pushing to it rather than assigning to it.
In reply to Re^2: code for serching .txt file through directories and sub directories
by tobyink
in thread code for serching .txt file through directories and sub directories
by hector89
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |