Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: The hidden charm of Template::Toolkit (and templates generally)

by harsha.reddy (Acolyte)
on Jan 07, 2008 at 06:23 UTC ( [id://660765]=note: print w/replies, xml ) Need Help??


in reply to The hidden charm of Template::Toolkit (and templates generally)

A tumbler is half empty or a tumbler is half filled is one and the same for me.. except that the perspectives differ..

In the mason template code that you have mentioned:

I still can see lot of Perl code in it, like:

$book->title, my @authors = $book->authors;

I look at <%perl>, <%... %> as special html tags...

(Ah! Perl is so intelligent that it recognizes Perl code present in HTML as well.. taking things this way one will see this as feature rather than as a thing that will confuse..)

I see that (from what you have said above) you aim is to learn "about Catalyst and MVC" and not to get lost in templating stuff..

It is better go through this recursion rather than staying away.. that adds up to ones experience.

All the very best.

20080109 Janitored by Corion: Removed PRE tags, added formatting, code tags, as per Writeup Formatting Tips

Replies are listed 'Best First'.
Re^2: The hidden charm of Template::Toolkit (and templates generally)
by dsheroh (Monsignor) on Jan 07, 2008 at 17:50 UTC
    To quote the post preview page:

    If you think you're going to use <pre> tags — don't! Use <code> tags instead! This applies to data as well as code.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://660765]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2024-04-18 08:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found