[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] Preview Release available with callbacks code integrated


Hi Mark -- 

> I think I spent more time 'on the fence' about integrating callbacks
> into the core than anyone. So I thought it would be worth 
> explaining my 
> thinking about accepting the patch now.


I took a look at the proposed docs, and I do have a question:

>  $self->add_callback('prerun', \&callback);
>  $self->add_callback('teardown', \&callback, 'FIRST');


Why couldn't this same effect be accomplished via sub-classing and
overriding functions, just like load_tmpl()?


-Jesse-


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.