targetsmart has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, Initially(3 years before) I thought that php would be a better language for doing web programming, because most of my colleagues used that. After some 3 years of exposure to perl , i now feel that CGI or mod_perl would be a better choice(I am a newbie to CGI and mod_perl). Now if I see my colleagues, they are slowly moving from php to ruby on rails because of more agility. If any monk knows about the three different web languages, please give me a list of advantages and disadvantages of choosing anyone among the three languages. I am more interested to choose CGI and mod_perl, but I feel that before entering into this, I must know which is comparatively better language.