PHP is embeded in an HTML page, whereas a Perl CGI is more likely to be in the backend, or at most generating HTML. There are HTML::Embperl [apache.org], ePerl [engelschall.com], and maybe other embeded perl options, but probably the way most people use Perl is not comparable to PHP.