in reply to Opening multiple files in directory

I've tried using open MYDIR "." and foreach to iterate through the files

open? — or opendir (and readdir)?