Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the List-BinarySearch-XS CPAN distribution.

Report information
The Basics
Id: 89819
Status: resolved
Worked: 5 min
Priority: 0/
Queue: List-BinarySearch-XS

People
Owner: davido [...] cpan.org
Requestors: ftobin [...] cpan.org
Cc:
AdminCc:

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



Subject: documentation bug w/r/t splice usage
From the synopsis: # Insert based on a binsearch_pos return value. splice @num_array, $index, 1, 600 if( $num_array[$index] != 600 ) #Insertion at [5] The third argument to splice should be 0, since putting 1 will make it replace an element, not insert.
Thanks. This is fixed in version 0.06, which I uploaded to CPAN just a few minutes ago.