From: Tait Pollard Date: 2006-06-05T22:57:38+09:00 Subject: Directory.entries problems with while loops I am trying to create an array with all the files of a directory of a certain file type. I use Directory.entries to get an array of all the files and folders in the directory. Then when i try to use a while loop to sort through the array with a Regexp variable i get an infinite loop. Any suggestions? -- Posted via http://www.ruby-forum.com/.