laziness, impatience, and hubris | |
PerlMonks |
Plack and apache child init phaseby ysth (Canon) |
on Apr 30, 2014 at 18:39 UTC ( [id://1084540]=perlquestion: print w/replies, xml ) | Need Help?? |
ysth has asked for the wisdom of the Perl Monks concerning the following question: A new server is being developed, mostly by someone other than me, that has some code in a mod_perl child init handler; I'm trying to figure out if it's worthwhile to argue for using a module that expects to be run under Plack instead of reinventing that module's wheel. But I don't see any provision for child init code in Plack or PSGI. Am I missing something? AFAICT we could just go ahead and use Plack and the child init handler, but that seems contrary to the spirit of PSGI (and would mean special code to enable plackup to work). I know Starman has a similar child_init_hook; maybe how/if it solves this problem could provide an answer?
-- A math joke: r = | |csc(θ)|+|sec(θ)| |-| |csc(θ)|-|sec(θ)| |
Back to
Seekers of Perl Wisdom
|
|