[Koha-bugs] [Bug 11175] Show the parent record's component parts in the detailed views

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 3 09:49:09 CEST 2018


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

--- Comment #42 from Josef Moravec <josef.moravec at gmail.com> ---
(In reply to Olli-Antti Kivilahti from comment #41)
> (In reply to Josef Moravec from comment #38)
> > Do not return explicit undef
> 
> Could you elaborate a bit why returning undef is bad?

It could lead to unexpected results, see:

https://metacpan.org/pod/Perl::Critic::Policy::Subroutines::ProhibitExplicitReturnUndef

https://perlmaven.com/how-to-return-undef-from-a-function

We even have it in our guidelines (this policy is part of perlcritic severity
5):
https://wiki.koha-community.org/wiki/Coding_Guidelines#PERL4:_Perlcritic

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


More information about the Koha-bugs mailing list