Quantcast
Channel: Comments on: How to find files with Path::Class::Rule
Viewing all articles
Browse latest Browse all 6

By: dagolden

$
0
0

Generally, I'd say that should be covered by the error handling (not yet implemented), so I should probably do that soon. But here's another way to do it:


$r = Path::Class::Rule->new->and( sub { -r $_ ? 1 : "0 but true" } );

That will prune unreadable directories.


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images