Skip Menu |

This queue is for tickets about the File-Find-Rule-Filesys-Virtual CPAN distribution.

Report information
The Basics
Id: 38732
Status: new
Priority: 0/
Queue: File-Find-Rule-Filesys-Virtual

Owner: Nobody in particular
Requestors: peter [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Different behaviour for maxdepth(0) compared with File::Find::Rule
Download (untitled) / with headers
text/plain 383b
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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to