Skip Menu |

This queue is for tickets about the Filesys-DiskUsage CPAN distribution.

Report information
The Basics
Id: 14062
Status: resolved
Priority: 0/
Queue: Filesys-DiskUsage

People
Owner: cog [...] cpan.org
Requestors: hussein.patni [...] gmail.com
Cc:
AdminCc:

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



Subject: problem with exclude
exclude does not seem to ignore subdirectories that match the pattern, which is what gnu du seems to do. The following test is done on a file if (-f) if (defined $config{exclude}) { my $filename = basename($_); next if $filename =~ /$config{exclude}/; } I think it should also be done if (-d), and recursion at that point should stop (thereby excluding the entire subtree)