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 while $f = $n->()'
./foo
Can't open directory .dbus: Permission denied at /usr/local/lib/perl5/site_perl/5.14.1/Path/Class/Rule.pm line 105
That's not what we want, is it? If I know the names of the directories I cannot read, I can add a skip_dirs for them, but I don't see how to simply skip any I can't read. Or maybe this covered by the "Error handling callback" not implemented note in the docs?