[Koha-devel] Coding guidelines and Plack

Paul Poulain paul.poulain at biblibre.com
Mon Sep 23 08:55:27 CEST 2013


Le 23/09/2013 07:40, Marcel de Rooy a écrit :
> Hi all,
> 
> Had a discussion with Jonathan on bug 9032 about the use of variables
> and requirements for Plack.
> 
> Our coding guidelines do not yet mention Plack.

> Should we add a PERL rule that prohibits defining lexical variables (my
> $var) at the outermost block (file level) ?
Definetly, yes, we should add such a rule (and, imo, it's also a good
coding guideline, even outside from Plack !)

-- 
Paul POULAIN - BibLibre
http://www.biblibre.com
Free & Open Source Softwares for libraries
Koha, Drupal, Piwik, Jasper



More information about the Koha-devel mailing list