[Koha-bugs] [Bug 7779] tools/letter.pl: scope vars for plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 26 01:34:42 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7779

--- Comment #7 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
I added one paragraph to wiki page, and I'm including it also here for
reference:

Most of the patches are simple changes which change scoping of variables used
within subs inside *.pl files. This is needed because pack wraps each CGI
script into sub. While this approach may seem like a cludge, as we are creating
global variables this doesn't affect CGI since all variables are released on
end of request. In case of plack, this will increase in-memory size of plack a
little bit, but it's simplest way (IMHO :-) to get code running on plack while
preserving compatibility with CGI execution of Koha.

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


More information about the Koha-bugs mailing list