>
> > For that reason HTML::Embperl uses the [ ] blocks to embedd
> Perl. This is
> > normal Text in Dreamwaver, Frontapge or wahtever and causes no problems.
>
>       Except I think the designer seeing Perl code all over his
>       screen would be rather ugly.
>

If you include the complete Perl source in the html page you are right, if
you just put the the neccessary code there and the rest in a module, then it
maybe also helpfull for the designer to see, that there is something going
on...

Both methods has their advantages.

>       And, again, the first time the page is designed, the code isn't
>       there: you have to insert it by hand in just the right places.
>

If your design is able to place the right class=foo in the code, he/she
could also be insert [- foo -] in the html code, this makes no difference.
Most time designers will not be able to inserts both such constructs in the
right place, because they are not able to understand what's going on behind
the scenes.

I don't want to say that Embperl makes your approach senseless, I just want
to say it also handles this problem, also in a different way and I am sure
their are people who like your way and other who like more Embperl's way.

Gerald

Reply via email to