On Sun, Dec 14, 2008 at 10:01 PM, Adam Jimerson <vend...@charter.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Mike Williams wrote:
>> On Sun, Dec 14, 2008 at 1:28 PM, Adam Jimerson <vend...@charter.net> wrote:
>>> On Dec 12, 12:47 pm, sdav...@mail.nih.gov (Sean Davis) wrote:
>>>
>>> Are you talking about this, 
>>> http://search.cpan.org/~abw/Template-Toolkit-2.20/lib/Template.pm?
>>> If so it doesn't really say what it is for I am completely lost in how
>>> to use it for my needs.
>>>
>>
>> Take a look at the template toolkit web site, that may help you understand 
>> it.
>>
>> http://www.template-toolkit.org/
>>
>> Mike
>
> Looking at the website and the documentation, still reading through it,
> I'm still not sure how to mix this with my CGI scripts to make them look
> like the rest of the site even though Konqueror supports the <object>
> tag, which I would think would be the last browser to support it.  It
> may just be that I'm new to CGI so I'm having to take what I am learning
> and throw it out the window?

Unfortunately, you'll probably just have to work through some of the
examples to see how it helps you.  As with much of perl, there are
many ways to do it.  I think, though, that many folks have thought
about the problem of producing HTML from perl scripts and found that
templating is the way to go.

Also, you might want to look at a solution like CGI::Application that
does much of the busy-work of writing CGI applications for you and
enforces the MVC concept by design.

Sean

-- 
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/


Reply via email to