in reply to array comparison

Seems to me that what you'd really like is Quantum::Superpositions. It defines any and all, but differently than List::MoreUtils. Behold:

use Quantum::Superpositions; my @a = ( 5 .. 8 ); print "Of @a:\n\n"; for ( 4, 6, 8 ) { print any(@a) > $_ ? "any > $_\n" : "not any > $_\n"; print all(@a) > $_ ? "all > $_\n" : "not all > $_\n"; }
Between the mind which plans and the hands which build, there must be a mediator... and this mediator must be the heart.