19 Sep
2013
19 Sep
'13
1:34 p.m.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9032 --- Comment #34 from Jonathan Druart <jonathan.druart@biblibre.com> --- (In reply to M. de Rooy from comment #33)
(In reply to Jonathan Druart from comment #32)
If you use a global variable in a routine, you should declare it as 'our' instead of 'my'. These variables are only used in some subroutines of this script, eliminating the need for passing them as parameters. I do not need them to be (global) package variables. A lexical variable declared with my is sufficient here.
That does not work with Plack. Moreover, using global variables is not a good practice. -- You are receiving this mail because: You are watching all bug changes.