Redvers Davies <[EMAIL PROTECTED]> writes:
> > It's not *that* hacky when you think about it. It's 'just another shell
> > scripting language'. It just isn't that good as a shell scripitng
> > language.
>
> I'd agree - I have yet to see anything in PHP that is easier, better or
> more flexible that in perl. It is just another shell. That statement won't
> get you ostracised... This will though:
>
> "HTML pages are the wrong place for applications or scripts. Applications
> or scripts should not contain HTML"
And lo! Red did hit the nail so firmly on the head that it wasn't
true. Though I would add the caveat that scriptish things that concern
themselves *solely* with presentation of data that got processed
somewhere else are usually ok.
[% FOREACH item = basket.contents %]
[% INCLUDE include/itemrow item = item %]
[% END %]
Is fine.
[% FOREACH item = basket.contents %]
[% INCLUDE include/itemrow item = item %]
--> [% total_price += item.price %]
[% END %]
Is not.
--
Piers