Home
last modified time | relevance | path

Searched refs:pairgrep (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/
H A Dpair.t7 use List::Util qw(pairgrep pairfirst pairmap pairs unpairs pairkeys pairvalues);
11 is_deeply( [ pairgrep { $b % 2 } one => 1, two => 2, three => 3 ],
15 is( scalar( pairgrep { $b & 2 } one => 1, two => 2, three => 3 ),
19 is_deeply( [ pairgrep { $a } 0 => "zero", 1 => "one", 2 ],
28 pairgrep { } one => 1, two => 2;
31 pairgrep { } one => 1, two =>;
32 like( $warnings, qr/^Odd number of elements in pairgrep at /,
38 pairgrep { $b++ } @kvlist;
H A Dundefined-block.t7 BEGIN { @subs = qw(reduce first none all any notall pairfirst pairgrep pairmap) };
/openbsd-src/gnu/usr.bin/perl/cpan/Scalar-List-Utils/
H A DListUtil.xs1014 pairgrep(block,...) in pairgrep() function