[Koha-bugs] [Bug 30196] Odd number of elements warning caused by dt_from_string

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 28 15:02:05 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30196

--- Comment #9 from Blou <philippe.blouin at inlibro.com> ---
Which relate to
https://metacpan.org/pod/Perl::Critic::Policy::Subroutines::ProhibitExplicitReturnUndef
which I find the explanation funny.  Yes, you might screw up boolean tests with
returning an undef.  But this bug here demonstrate you can screw up hash
creation.

Anyway, I have no problem using a standard.  But your solution avoids the
problem while not fixing it.  Aren't you afraid somewhere someone will use it
again the same way ?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list