Skip Menu |

This queue is for tickets about the CHI CPAN distribution.

Report information
The Basics
Id: 123179
Status: new
Priority: 0/
Queue: CHI

Owner: Nobody in particular
Requestors: KBrannen [...]

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

Subject: bug in CHI::Driver::FastMmap::get_keys
Date: Mon, 2 Oct 2017 21:38:37 +0000
To: "bug-CHI [...]" <bug-CHI [...]>
From: Kevin Brannen <KBrannen [...]>
Download (untitled) / with headers
text/plain 1.3k
The doc says you can pass a mode into get_keys() for CHI::Driver::FastMmap; however as delivered, you always get only an array of keys back. Looking at the code I see that the "mode" isn't passed thru, so the fix is simple: CHI/Driver/ 46 sub get_keys { 47 my ($self, $mode) = @_; 48 49 my @keys = $self->_contained_cache->get_keys($mode); 50 return @keys; 51 } The "$mode" var isn't there in the original code, but it fixes the problem. I'd also put in a pointer and possible fix in your test that didn't catch this, but since you did that with Test::Class, I'll skip that research. This is for version 0.60, which seems to still be the current version. Hopefully you are able to fix this soon. :) HTH, Kevin Brannen This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain confidential information. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, distribution, review, copy or use of any of the information contained in or attached to this message is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify us by reply e-mail, and destroy the original transmission and its attachments without reading them or saving them to disk. Thank you.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to