in reply to perl or php?

As most of the above posts have indicated perl is much more powerful than php, although php is better suited to persons beginning programming on the web.

The question I would ask you is "Do you want to write a few simple CGI scripts and leave it at that, or are you intending to learn to program?";

PHP is a kick bike, perl is a motor bike. If you need to get to the corner now a kick bike is easy to learn and quite quick. If you want to go on the motorway, you'll need to put in the extra bit of effort to ride a motorbike. Just don't forget your helmet( use strict; use warnings and for CGI, perl -T).

--tidiness is the memory loss of environmental mnemonics