Re: dynamic request hook ordering (take 2)

2004-02-28 Thread Geoffrey Young
here's another pass that incorporates the suggestions thus far. comments on the global foo appreciated. the tests I posted before are still valid at this point. --Geoff Index: lib/ModPerl/Code.pm === RCS file: /home/cvspublic/modper

Re: [Patch mp2] PerlSections dump & store #2

2004-02-28 Thread Philippe M. Chiasson
On Sat, 2004-02-28 at 14:46, Stas Bekman wrote: > Philippe M. Chiasson wrote: > > Improvements to my previous patch: > > > > - Small cleanups as suggested. > > - Documented > > [...] > > Index: lib/Apache/PerlSections/Dump.pm > [...] > > +#Process all saved packages > > +sub package { return

Re: [Patch mp2] PerlSections dump & store #2

2004-02-28 Thread Stas Bekman
Philippe M. Chiasson wrote: Improvements to my previous patch: - Small cleanups as suggested. - Documented [...] Index: lib/Apache/PerlSections/Dump.pm [...] +#Process all saved packages +sub package { return shift->saved } + +#We don't want to save anything +sub save{ return } + +#We

[Patch mp2] PerlSections dump & store #2

2004-02-28 Thread Philippe M. Chiasson
Improvements to my previous patch: - Small cleanups as suggested. - Documented Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.334 diff -u -I$Id -r1.334 Changes --- Changes 26 Feb 2004 23:29:06

Re: [Patch mp2] PerlSections dump & store

2004-02-28 Thread Stas Bekman
Philippe M. Chiasson wrote: Actually, no, it's quite the opposite. Those empty functions are there to disable these actions in the parent class. A::P::Dump isa A::PerlSections and really just overrides a few things, like dump_item(), but in the parent class, for instance, post_config() is the sub

Re: [Patch mp2] PerlSections dump & store

2004-02-28 Thread Philippe M. Chiasson
On Sat, 2004-02-28 at 14:14, Stas Bekman wrote: > Philippe M. Chiasson wrote: > > Finally got around implementing Apache::PerlSections->(dump|store); > > > > Comments ? > > > > Index: lib/Apache/PerlSections.pm > > === > > RCS file:

Re: [Patch mp2] PerlSections dump & store

2004-02-28 Thread Stas Bekman
Philippe M. Chiasson wrote: On Fri, 2004-02-27 at 20:06, Geoffrey Young wrote: Philippe M. Chiasson wrote: On Fri, 2004-02-27 at 19:38, Geoffrey Young wrote: Philippe M. Chiasson wrote: Finally got around implementing Apache::PerlSections->(dump|store); Comments ? freeze/thaw? What do you

Re: [Patch mp2] PerlSections dump & store

2004-02-28 Thread Stas Bekman
Philippe M. Chiasson wrote: Finally got around implementing Apache::PerlSections->(dump|store); Comments ? Index: lib/Apache/PerlSections.pm === RCS file: /home/cvs/modperl-2.0/lib/Apache/PerlSections.pm,v retrieving revision 1.2 dif

Re: [Patch mp2] PerlSections dump & store

2004-02-28 Thread Philippe M. Chiasson
On Fri, 2004-02-27 at 20:06, Geoffrey Young wrote: > Philippe M. Chiasson wrote: > > On Fri, 2004-02-27 at 19:38, Geoffrey Young wrote: > > > >>Philippe M. Chiasson wrote: > >> > >>>Finally got around implementing Apache::PerlSections->(dump|store); > >>> > >>>Comments ? > >> > >>freeze/thaw? > >