Skip Menu |
 

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

Report information
The Basics
Id: 1289
Status: resolved
Priority: 0/
Queue: Cache-Cache

People
Owner: Nobody in particular
Requestors: glady.junsay [...] target.com
Cc:
AdminCc:

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



Subject: duplicate declaration of class method 'get_keys'
Download (untitled) / with headers
text/plain 665b
The module Cache::NullCache has the class method 'get_keys' declared twice, therefore a warning message is given during compilation: Subroutine get_keys redefined at /home_dir/gjunsay/myperl/lib/Cache/NullCache.pm line 101 (#1) (W redefine) You redefined a subroutine. To suppress this warning, say { no warnings; eval "sub name { ... }"; } The methods in question are these: sub get_keys { return ( ); } sub get_keys { warn( "get_identifiers has been marked deprepricated. use get_keys" ); return ( ); } I presume that the second method should be changed to 'get_identifiers' based on the warning message.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.