in reply to How do I read files from a folder and place them into a list?

$dir = 'c:'; @files = grep{-f $_}glob("$dir/*");