Why do you ask?
So I can frame the question better, and because I can't really think of any other purpose for the hook :)
I think you'll find https://metacpan.org/pod/Plack::Handler::Apache2#STARTUP-FILE interesting, as well as https://metacpan.org/pod/Plack::Component#OBJECT-LIFECYCLE and especially https://metacpan.org/pod/Plack::Builder#INLINE-MIDDLEWARE
So you can create your own init_hook as an anonymous inline Plack::Middleware
Thats your PlackChildInitHandlerbuilder { ... enable \&child_init_phase; $app; }; ... sub child_init_phase { my( $app ) = @_; ... ## your init stuff here $app; ## return app unmodified }
In reply to Re^3: Plack and apache child init phase (PlackChildInitHandler)
by Anonymous Monk
in thread Plack and apache child init phase
by ysth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |