How big is the site, and how extensive is the perl stuff (as opposed to plain old html?) Learning a whole new language is a big project, and so is rewriting a whole site. It's really your judgement call on which is going to be the most work. Also, though I really like PHP and prefer it for most new projects, it probably wouldn't hurt you to learn perl anyway if you're doing web-related work.