For me it's just the Principle of Least Surprise. I find that almost every single time (in ruby, perl, whatever) I get a listing of current directories, I end up manually cutting out "." and "..". Actually, I can't think of any one time I've actually needed them. Perhaps an optional argument to not display those, or vice versa... my $0.02, -mike On Tue, 2002-03-19 at 02:22, Yukihiro Matsumoto wrote: > Hi, > > Could you summarize pros and cons for filtering dot files (. and ..) > from Dir.entries and Dir.each, please? > > matz.