[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
Fri May 27 11:18:27 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16104
--- Comment #18 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
If you compile (perl -cw) a script or module now that contains a use
C4::Context, you have the following warnings:
Name "Tie::Hash::FIELDS" used only once: possible typo at
/usr/share/perl/5.22/fields.pm line 135.
Name "Cache::RemovalStrategy::LRU::FIELDS" used only once: possible typo at
/usr/share/perl/5.22/fields.pm line 135.
Name "Cache::RemovalStrategy::FIELDS" used only once: possible typo
at /usr/share/perl/5.22/fields.pm line 135.
[ PS koha-qa does the same. ]
Are these warnings somehow related to perl's Cache module containing things
like below?
use base qw(Tie::Hash);
my $strategy = $args->{removal_strategy} || 'Cache::RemovalStrategy::LRU';
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list