in reply to CGI and mod_perl vs PHP vs ruby on rails
If you are building this code commercially (i.e. someone is paying you and your colleagues to write the code) then there are many other considerations before you get to the "best language for the job" question. By the sounds of it, you are using a tool that does the job that you require at present and is supported in your production environment. The main considerations are whether your technical approach is fit for purpose (can you achieve the business goals?) and whether you can support the development and operation of the target environment (can you build, maintain and run it?).