Skip Menu |

This queue is for tickets about the Sort-Merge CPAN distribution.

Report information
The Basics
Id: 112768
Status: new
Priority: 0/
Queue: Sort-Merge

People
Owner: Nobody in particular
Requestors: plonka [...] cs.wisc.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Sort::Merge doesn't sort in lexical order; possibly doesn't work at all
I have not been able to get Sort::Merge module to work. This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi First, the example in the POD, with missing ']' added, just produces lines a never-ending line of zeroes: Sort::Merge::sort_coderefs([sub{our $i=0; return ($i++ x 2)}, sub{our $j=0; return ($j++*5 x 2)}], sub{print shift->[1]}); Second, while the POD states (of sources), "The first element should be a sort key, which will be compared lexographicly (using cmp)," the Sort::Merge source code doesn't even contain a use of the "cmp" operator. :-/