From 108f72d6953b736acc21b473544ab8ad3ae9860e Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Thu, 14 Jun 2012 11:24:27 -0400 Subject: [PATCH] Bug 8092 follow-up: Fix perlcritic violations Content-Type: text/plain; charset="UTF-8" Apparently you are not supposed to use "return undef;" or perlcritic gets mad. Sorry, perlcritic! --- Koha/Cache/Fastmmap.pm | 2 +- Koha/Cache/Memory.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Cache/Fastmmap.pm b/Koha/Cache/Fastmmap.pm index bad19f5..c5838f0 100644 --- a/Koha/Cache/Fastmmap.pm +++ b/Koha/Cache/Fastmmap.pm @@ -35,7 +35,7 @@ sub _cache_handle { cache_size => $params->{'cachesize'} || '1m', ); } else { - return undef; + return; } } diff --git a/Koha/Cache/Memory.pm b/Koha/Cache/Memory.pm index da09765..1ed1096 100644 --- a/Koha/Cache/Memory.pm +++ b/Koha/Cache/Memory.pm @@ -36,7 +36,7 @@ sub _cache_handle { global => 1, ); } else { - return undef; + return; } } -- 1.7.2.5