Quantcast
Channel: Comments on: How to find files with Path::Class::Rule
Browsing latest articles
Browse All 6 View Live

By: Joel Berger

Its interesting that you post this, because I have written (and submitted) a (possibly superfluous) mechanism for recursive actions on a directory tree, based around your File::chdir. That module is...

View Article


By: zby

What you might add to SEE ALSO: http://search.cpan.org/perldoc?File::Find::Object , http://search.cpan.org/perldoc?File::Find::Object::Rule

View Article


By: dagolden

To be clear, I only maintain File::chdir; I didn't write it. Your application of it to directory walking is interesting. It reminds me a lot of how File::Find works, but without all the crazy globals....

View Article

By: dagolden

Thanks. I'll check them out. I ran out of steam to review modules and focused on the ones that I knew of already.

View Article

By: oylenshpeegul

The iterator throws an exception when it encounters a directory it can't open $ perl -MPath::Class::Rule -E '$r = Path::Class::Rule->new; $r->file->name("foo");$n = $r->iter("."); say $f...

View Article


By: dagolden

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 {...

View Article
Browsing latest articles
Browse All 6 View Live