Ralph Mellor <ralphdjmel...@gmail.com> wrote: > A junction passed as an argument is immediately expanded unless > a function is specifically coded to handle junctions for that argument. > > That is a large part of the beauty of the junction design. All functions > (and thus all operators) automatically get a very useful and powerful > junctional behavior for free. They don't even know junctions exist.
I can see the point, of course. But then by the same token, function authors do need to think about junctions if it makes sense to do it the other way. At least in this File::Find exclude case there doesn't seem to be anything useful about the current behavior.