This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Disentangle ck_sort and grep
authorFather Chrysostomos <sprout@cpan.org>
Sat, 14 Jul 2012 07:35:13 +0000 (00:35 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 14 Jul 2012 07:35:13 +0000 (00:35 -0700)
commit354dd559d99d08083d84afc75caef707740b9959
tree142c9eba64696e5373c87684723c51d4c49201e5
parentd7ab38e86270ebb461e1e10c7be726e399e19c78
Disentangle ck_sort and grep

Originally, sort and grep/map used the same code for handling the
block’s ops.

But that didn’t quite work, so exceptions were added over time.  Now
the thing is a complex sprawling mess.  By folding the grep-specific
code into ck_grep, things are greatly simplified.
op.c