>>>>> "Tyler" == Tyler MacDonald <[EMAIL PROTECTED]> writes:
Tyler> Why am I forced to say
Tyler> [% FOREACH(blah) foo %]
Tyler> Instead of the
Tyler> [% for my $i (@foo) %]
Tyler> I've become happily used to?
Because the day will come when you want to replace
foo.a # get $foo->{a}
with
foo.a # invoke $foo->a
and you don't want to teach your HTML-whackers to change their
syntax everywhere.
The nice thing about TT is that it hides nearly everything into
a much more Perl6-like syntax. Oh, and loop.first and loop.last *rock*.
If you find yourself agonizing over the very-easy-to-learn TT syntax,
you're doing *too* much in TT. It's self-limiting.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!