CGI-BIN: Maybe, it depends on how the webserver is configured. Place a .pl/.cgi script someplace else and go to it, if you get the sourc of the file then you know its not set up to execute there, if you get anything else then you can use scripts there.
Write Access: Html file can be set to have public read/write, how are you changing your permissions?