in reply to Re^2: Problem wrapping prototyped function [SOLVED]
in thread Problem wrapping prototyped function [SOLVED]
Well, part of the discussion in the other post was about the fact that using grep in a Boolean context for simulating an any function is not very clear.
The other point, which I should have mentioned and you could not guess it, is that I am not really using the List::Util version of reduce, but my own experimental lazy version of reduce, so that the process stops as soon as it has satisfied the relevant condition. (It should probably called something else than reduce, but OK, that's the idea.)