in reply to Re^6: File::Find: Return array of "wanted" files
in thread File::Find: Return array of "wanted" files

Why do you undef @array2 within your foreach loop? Do you need a fresh xopoty of @array2 each time? Probably not.

  • Comment on Re^7: File::Find: Return array of "wanted" files