View Problem

Test if a condition holds for all items of a list

Given a list, test if a certain logical condition (i.e. predicate) holds for all items of the list.
DiskEdit
groovy
[2,3,4].every{it > 1}

Submit a new solution for perl, java, or groovy
There are 11 other solutions in additional languages (clojure, cpp, erlang, fantom ...)