If you're going to add scripting and database connectivity to Blues, why not look into PHP? It's usually faster than perl (depending on what you're doing), the syntax is a lot closer to C, and it's easier to change the html within the scripts...
Just plugging my fav web scripting language in this
religious debate....