[Koha-devel] Add rule for no subroutines in PL scripts

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Tue Sep 29 11:33:38 CEST 2015


> I also noticed there’s no rule forbidding subroutine definitions in PL scripts. I thought that we had a rule against > that as well…

We don't have it. I would rather not have it too.
There is a problem with Plack if you define lexical variables at top level and refer to them in the subroutines.
Should be a rule for that?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20150929/c47611eb/attachment-0001.html>


More information about the Koha-devel mailing list