in reply to Re: why not glob
in thread Quickest way to get a list of all folders in a directory

One difference between glob and File::Find::Rule is that the latter also returns the parent directory ('C:/program files/Mozilla Firefox', in your example). It seems the OP does not want that.
  • Comment on Re^2: Quickest way to get a list of all folders in a directory (why not glob)

Replies are listed 'Best First'.
Re^3: Quickest way to get a list of all folders in a directory (why not glob)
by Anonymous Monk on Aug 14, 2009 at 15:28 UTC
    I think that is a bug :D
      I think that is a bug :D
      Please be more specific as to what you think is a bug, and provide some evidence to support your claim.
        One difference between glob and File::Find::Rule is that the latter also returns the parent directory

        That is a bug. Jeez.