in reply to Apache reads scripts as html, not cgi
Have you got an AddHandler line?
does you #! point at the installation of perl?
-- RatArsed