I believe if you want to do things "much the way PHP does," probably unless you have a significant reason to *not* use PHP (either you see another tool as "better" or you see PHP as lacking in some respect, I don't see a reason not to use PHP.
My understanding of writing a website in Perl is that you do *not* have the nice features of PHP in that it can be embedded within HTML with appropriately named files. So for example in PHP you can use <? and ?> to echo a value to the web page, where everything else you write in plain HTML, you would (as I understand it) have to output your whole webpage via Perl, if you were to use Perl. Please, if I'm mistaken in this regard, please let me know. I haven't learned enough about developing Perl based websites to provide much more than this brief overview of my understanding. Jigme Datse Rasku On Sat, Dec 5, 2009 at 9:03 PM, Parag Kalra <paragka...@gmail.com> wrote: > Hello All, > > I have only interacted with PHP/MySQL to design a website. > > I wanted to know if it is possible to use Perl instead of PHP (and I am > pretty sure it should be possible :) ). But my main concern is what are the > main Pros & Cons of using Perl instead of PHP. > > I have very basic requirements. I want to use Perl mainly to fetch results > from MySQL db inside HTML, just the same thing which we do inside the PHP > tags <? ?> > > So what are the main Perl modules which I need to install and any good > tutorial link would be really appreciated. > > Cheers, > Parag >