Apache built into OSX


I've been trying to get OSX to host a perl script, and people have told me that the apache server built in to OSX is capable of running perl scripts. However, after messing with the thing for days without luck, I'm starting to wonder if this is really the case. Can anyone confirm that OSX can indeed host perl out of the box? If it can, has anyone successfully done so?