in reply to How do you list all files under a directory?

The File::Slurp::read_dir solution from the cross-posted question is a clean solution.