[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
Fri Mar 23 10:59:55 CET 2012


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

--- Comment #6 from Paul Poulain <paul.poulain at biblibre.com> ---
(In reply to comment #5)
> Would like to see a proper rationale for introducing package variables into
> scripts. Looks like we are pasting over bugs in the C4 code. Wouldbe helpful
> if bug described why this was done so that it does not propagate
> unnecessarily.

Not sure I understand this comment but: have you seen
http://wiki.koha-community.org/wiki/Plack#Running_Intranet and the paragraph:

Second day of plack testing showed that we are somewhat away from goal of
running intranet under plack. Currently biggest problems are variabled declared
with my which are inside sub (since plack wraps our cgi scripts within sub).
This problem is similar to mod_perl problem described at
http://modperlbook.org/html/6-2-Exposing-Apache-Registry-Secrets.html (just
ignore mod_perl references :-) 


Those patches are just a quick way to solve the problem plack cause. A better,
more long term & clean will have to be done later.

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


More information about the Koha-bugs mailing list