Subject: | Different behaviour for maxdepth(0) compared with File::Find::Rule |
With File::Find::Rule I can use maxdepth(0) and not have it scan the
input directory but only return the directory itself. With
File::Find::Rule::Filesys::Virtual maxdepth(0) nd maxdepth(1) seems to
do the exact same thig, i.e. returns a directory listing of the input
directory.
While seamingly unuseful this simplyfies code that have to handle depths
of zero, one and, infinity.