https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14769 --- Comment #38 from Julian Maurice <julian.maurice@biblibre.com> --- (In reply to Marcel de Rooy from comment #37)
(In reply to Julian Maurice from comment #36)
You're saying that the structure is kept only during the lifetime of the object, but with Plack, isn't the object's lifetime infinite ?
No. The code is cached for some time, but we create a new Controller object for each new Authority object. And in new we clear the saved structure. (We could also save it in $self alternatively.)
Ah sorry, I missed that. I don't know what is best, there is nothing about this in coding guidelines, so I guess it's okay to keep it like that. -- You are receiving this mail because: You are watching all bug changes.