There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
However ... Generally speaking, Perl does not pursue this objective in (what you call) “the PHP way,” and in my experience: these days, neither does PHP(!). The Perl language clearly espouses the notion of “separation of concerns,” where the logic of the application is studiously separated from the presentation. Typically, a Perl-driven (and a modern-day PHP-driven ...) web-site is viewed as being: “a program that takes a URL-string and possibly POST-data as input, and which generates an HTML string as output ... using a template to do so.” If you are still “embedding programming_language into HTML,” then I cordially advise you that you should re-consider that approach. Even though the PHP language started-out in this direction, it has since shifted away from it ... and, so should you. P.S.: I speak as someone equally conversant and up-to-speed in both language systems, not-to-mention many others. “This is not my first rodeo.” (As, as you will find, is the case for most of us around here.) In reply to Re: Embeding Perl in HTML the PHP way
by sundialsvc4
|
|