PHP versus Perl (was: Perl Grads)

philip skinner philip at onlinegalleries.com
Fri Jun 29 09:11:44 BST 2007


On Thu, 2007-06-28 at 18:38 +0100, Andy Armstrong wrote:
> On 28 Jun 2007, at 18:02, 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"
> >
> > real    0m10.056s
> > user    0m0.000s
> > sys     0m0.000s
> 
> I suspect the evidence has been tampered with :)
> 

Honest to god.

[philips at frank ~]$ time cat>foo
print "Content-type text/html\n\nhello world";


real    0m8.342s
user    0m0.000s
sys     0m0.002s
[philips at frank ~]$

:).

I wasted about 2 seconds forgetting to push ctrl-c.

Whoops.

Oh btw, hello! This is my first message to london.pm.

Philip.



More information about the london.pm mailing list