in reply to List module providing any,all and none
use Language::Functional ':all'; $x = any { even(shift) } [1, 2, 3]; # 1 $x = all { odd(shift) } [1, 1, 3]; # 1
-Mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: List module providing any,all and none
by eric256 (Parson) on Apr 15, 2004 at 17:58 UTC |