List:General Discussion« Previous MessageNext Message »
From:Martin Ramsch Date:July 7 1999 7:50am
Subject:Re: Drumbeat2000
View as plain text  
On Mi, 1999-07-07 09:38:03 +0200, Martin Edelius wrote:
> I feel that PHP3 is better than PERL (can't say about Javaservlets,
> never seen 'em) mostly because you can include HTML as you wish in PHP3.
> In PERL you'd have to print() every line of HTML code, in PHP3 you just
> escape to HTML with ?> and back to PHP3 with <?php.
> 
> Sorry, I'm turning this list into a PHP3 list... 8)

Just to be fair, please note that you easily can output large parts of
verbatim HTML code in perl, too:

print <<'ENDMARKER';
<H1>Here we go</H1>
And some text ...
ENDMARKER

Using quote marks instead of apostrophes, you even can insert
variables directly:

print <<"ENDMARKER";
<H1>Here we go, dear $name</H1>
And some text ...
ENDMARKER


I won't go further into languages wars, though! :-)

I'm using both PHP and perl ...
(And MySQL, of course ;-)

Ciao,
  Martin
-- 
Martin Ramsch <m.ramsch@stripped> <URL: http://home.pages.de/~ramsch/ >
PGP KeyID=0xE8EF4F75 FiPr=52 44 5E F3 B0 B1 38 26  E4 EC 80 58 7B 31 3A D7
Thread
SV: Drumbeat2000Martin Edelius7 Jul
  • Re: Drumbeat2000Martin Ramsch7 Jul
RE: Drumbeat2000Cory Hubert7 Jul