since this site is called perlmonks and not phpmonks, I think you are asking the wrong persons what
our suggestion would be.
Ask the same question on a php group, and I know what their answer will be :-)
Dr. Mark Ceulemans
Senior Consultant IT Masters, Belgium
Re: "cook-ebook" - Should I use Perl or PHP/MySQL?
I'd like to think a little differently on this. While it is true that many of the users on this site will always say 'perl is the best language no matter what you need to do', I think you'd be surprised at the number of people who will give their honest opinion if they are well-educated in both Perl and the language in question (in this case, php).
Dare I say it? There are those few times when perhaps Perl is not the best option available for the job. And those who know the true differences between languages, as well as the strengths and weaknesses between them, are not going to lie about which option might be the most suitable.
Therefore, I think it is perfectly valid for a person to ask if maybe a certain task would be easily accomplished with another language. Remember: just because someone frequently visits perlmonks doesn't mean that they don't know anything else besides perl. I can't find it, but the perlmonks FAQ mentions somewhere that off-topic questions are generally well-accepted here because of the fact that Perl isn't the only thing we here know about :)
>> Could not shut down computer:
>> Microsoft is logged in remotely.
You have a valid point about most monks considering different languages equally and if the question was "Should I use Perl or C++" or something of that nature, your point would be validated. However, when you're asking about two languages, one of which is just a subset of another, which do you think people will reccomend?
Granted there's just a *slight* hint of bias here in the Monastery, but I'm sure I'm not the only person here who believes in the maxim "the best tool for the job". Or would I be the black sheep in that I'd suggest something other than Perl if I believed that for that problem Perl was not the best way to do it?
-- Rozallin J. Thompson
The Webmistress who doesn't hesitate to use stict;