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

[cgiapp] Re: Generator question (what to do with dump_html)


On 2003-10-21, David Scott <suppressed> wrote:
>
> What is the best way to resolve "dump_html"?

I think dump_html is just a debugging tool. The idea would be that you
would leave it as you were getting started, and then replace it with a
call to a template system "output" method later. 

I decided I didn't find this useful, so I call "app_module_tmpl" to use 
my own template which uses this instead:

        my $t = $self->load_tmpl('');
        $t->param();

        return $t->output;



	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.