Dr. Robert Kline, of West Chester University, has created a very handy two-column, single-page comparison of Perl and PHP, ideal for those of you that need to convert some code. Not only does he give you simple coding examples for both languages, he also shows how to use mySQL in both languages.

Nice work, Dr. Kline. Thanks for the great comparison. I work in both languages on my own websites regularly, and often use Perl syntax in a PHP program and vice versa - often temporarily forgetting that I’ve switched. This will be a great reference, no doubt for many new programmers.