[Koha-bugs] [Bug 16104] Warnings "used only once: possible typo" should be removed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Apr 25 12:29:33 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16104
--- Comment #9 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
I found another workaround:
+can_load( modules => { 'Cache::Memory' => undef } ) && Cache::Memory->new();
our %L1_cache;
- if ( can_load( modules => { 'Cache::Memory' => undef, nocache => 1 } ) ) {
+ if ( can_load( modules => { 'Cache::Memory' => undef } ) ) {
which seems to work (?, "perl -wc C4/AuthoritiesMarc.pm" does not emit any
warnings) without introducing noticeable performance issues, but I have no idea
how exactly/why it works.. I have a feeling that it only hides the problem
(whatever it really is) instead of fixing it properly.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list