in reply to Re^4: reading file names to an array from the directory tree
in thread reading file names to an array from the directory tree

file, name and in are all three class methods and object methods. file filters out results that fail a -f test.

Replies are listed 'Best First'.
Re^6: reading file names to an array from the directory tree
by vit (Friar) on May 23, 2010 at 23:31 UTC
    But where is a description of file() method? I did not find it. And what is the role of:
    my @files = File::Find::Rule ->file()

      In the big table at the top.

      To only returns the results that pass a -f test.

        Am I right that it may filter out "." and ".." files?
        However, when I did
        my @files = File::Find::Rule ->name( '*' ) ->in( @subdirs );
        there was no "." and ".." files. So how they were filtered out?