in reply to perl and CGI - stylesheets

Does style.css live in a directory that apache is using as a script directory? If so apache will try and execute any file in that directory. Try putting style.css in your normal documents directory.