in reply to Using a user input array with File::Find
Unless I've misunderstood your question, there's no need for that while loop: File::Find can take a list of directories as its last argument.
... File::Find::find({wanted => \&wanted}, @ARGV); [download]