By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
In the LAMP stack, I've heard that the "P" stands for both PHP and PERL. What's the difference between them, and when is either one used?
PHP is a simpler language when it comes to delivering Web pages, and it's more closely integrated with HTML and Web servers than Perl is. Perl is probably the more powerful language, and more general purpose, but its roots are in batch-mode scripts, not in database-driven Websites. In the end though, use the one that you have the most expertise with, since they're both 3GL programming languages with many similar features. A proper understanding of the risks and benefits of mod_perl is essential if you choose Perl.