Skip Menu |

This queue is for tickets about the Cache-LRU CPAN distribution.

Report information
The Basics
Id: 126996
Status: new
Priority: 0/
Queue: Cache-LRU

People
Owner: Nobody in particular
Requestors: Ralf.Neubauer [...] wido.bv.aok.de
Cc:
AdminCc:

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



Subject: $cache->clear() documented with an argument it doesn't have
Date: Thu, 30 Aug 2018 11:14:34 +0000
To: "bug-Cache-LRU [...] rt.cpan.org" <bug-Cache-LRU [...] rt.cpan.org>
From: "Neubauer, Ralf" <ralf.neubauer [...] wido.bv.aok.de>
The manual says: $cache->clear($key) Removes all entries from the cache. but in reality the method doesn't have parameters and passing a single $key would be nonsense anyway: sub clear { my $self = shift; $self->{_entries} = {}; $self->{_fifo} = []; }