Forum Moderators: phranque
Rcjordan suggested that I learn Perl and get into databases, what are the advantages and benefits from this? Are there any disadvantages?
Positive and negative comments please.
Am I right in thinking that PHP is virtually the same as Perl? What's the difference?
Perl and PHP have (very) similar syntax - but the're not the same thing.
The main differences are:
Perl is a more general language - you can do pretty much anything in perl. Write device drivers*, windowing environments, routines to automate almost anything, using TK complex applications can be built. It is currently interpreted (meaning it is turned into machine code line by line on the fly) but thats set to change with Java style byte code (semi-compiled) capabilities in Verson 6 ... soon.
PHP is designed to be used in web environments - though again more can be done with it. For someone coming from HTML to web applications it will be a lot easier. Code is embedded in HTML basically .. so its much closer to basic web development than Perl.
In summary - Perl you make a little program that generates html, PHP you make html that has a little program in it ;)
Well lots to digest there :) Either way these languages are a fantastic choice and both have a massive future.
Gethan
* disclaimer just because you can doesn't mean you should, C would be a better choice for these :)
Thats one person says Perl, another says PHP and another says Java! I was pretty impressed with the fact that this forum is made with Perl and so I think I'll learn that.
Has anyone any suggestions on books I could get to learn Perl? (Bearing in mind I'm a 15 year old student.)