You can push into @filesfound within find's code block. I suspect that you'll find considerable help from mirod's post, here: Why I hate File::Find and how I (hope I) fixed it.
In reply to Re: output of Find::File into an array
by mkmcconn
in thread output of Find::File into an array
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |