Home
last modified time | relevance | path

Searched refs:pairfirst (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);
42 is_deeply( [ pairfirst { length $a == 5 } one => 1, two => 2, three => 3 ],
46 is_deeply( [ pairfirst { length $a == 4 } one => 1, two => 2, three => 3 ],
50 is( scalar( pairfirst { length $a == 5 } one => 1, two => 2, three => 3 ),
54 ok( !scalar( pairfirst { length $a == 4 } one => 1, two => 2, three => 3 ),
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.xs935 pairfirst(block,...) in pairfirst() function