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 ArticleBy: 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 ArticleBy: 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 ArticleBy: 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 ArticleBy: 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 ArticleBy: 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