sub any (&@) { my $f = shift; return if ! @_; for (@_) { return 1 if $f->(); } return 0; }