On 2004-12-14, Mark Stosberg <suppressed> wrote:
> On 2004-12-13, Cees Hek <suppressed> wrote:
>>
>>> # In my instance script
>>> my $app = WebApp->new(PARAMS => { cfg_file => 'config.pl' });
I worked on this some tonight. I came back to callbacks. :)
With callbacks, I could add a hook into cgiapp_init, and this could
be even simpler:
my $app = WebApp->new(PARAMS => { cfg_file => 'config.pl' });
becomes:
my $app = WebApp->new(CFG_FILE => 'config.pl');
I think I've seen enough benefit cases from the callbacks proposal to start
integrating it for a beta version to review. I'll work on that soon, unless
someone else wants to do the initial patch. (It shouldn't be hard, since Cees
has a working version now).
Mark
--
http://mark.stosberg.com/
---------------------------------------------------------------------
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.