3 Oct
2018
3 Oct
'18
9:49 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11175 --- Comment #42 from Josef Moravec <josef.moravec@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::ProhibitExplicit... 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.