758 wrote:I'm writing a web application and i can't decide whether to write it in Perl or PHP, i know them about equally well now and (to me) Perl has more potential, but im having a lot of trouble with mod_perl and such.
Maybe take a different perspective to help you decide: what do you want the user to be able to do on the site? Maybe that will suggest which language might be better. I find perl great for report generating (i guess thats because of the name!).
I just now finished an 'accounting' project and I did it in perl because it had to traverse directories and tally up things, then munge those results w/ type of account (from database) and finally generate a CSV of the results. Took about an hour because its spread over 3 servers.
Oh yeah, any kind of 'network' communication I do in perl...ftp, http, mail, etc. Real nice if you have the right CPAN modules.