PHP versus Perl

Daniel Barlow dan at coruskate.net
Thu Jun 28 23:16:43 BST 2007


David Cantrell wrote:
> On Thu, Jun 28, 2007 at 05:34:23PM +0100, Andy Armstrong wrote:
> 
>> PHP's big wins are ubiquity and ease of deployment. "Hello World" is a
>> ten second job in PHP.
> 
> $ time cat>foo
> print "Content-type: text/html\n\nhello world"

ITYM "<title></title>hello world" (IIRC, and assuming an sgml-based 
HTML, all the other containing elements have omissable tags, but not 
that one)

Or, perhaps easier, sent text/plain instead of text/html


-dan


More information about the london.pm mailing list