Haha, I think there are a total of 2 perl scripts for massassi, one is the levels search engine, which is a 3rd-party tool that was originally implemented when we had no db for our levels (the level "add" form would just generate an HTML file). There is an indexer script that goes through all the HTML files and makes an index, then the actual search cgi that searches the index. When we moved to a db for the levels, I didn't write a new search engine because it was pointless (and I was always busy with more important things).
Then the sotd archives at one point was a perl script, I don't know if it still is. (Just checked, it's not.) Actually maybe the button rotator is and any other dynamic info that gets pulled into the main page.
You people have no sense of history with your fancy frameworks and CMS systems. Anyway, assuming you want to preserve the current design (which I highly recommend), good luck getting a modern framework/cms working with FRAMES.