PDA

View Full Version : A few ? about Perl???



the_mp3_refuge
04-18-01, 05:50 PM
Ok, my teacher is putting my in a class the developes programs and stuff in perl and I want to know what it is, and how would I use it in a real life purpose? Peace :cool:

[ 04-18-2001: Message edited by: the_mp3_refuge ]

g-c0de
04-18-01, 08:45 PM
isnt perl based on cgi scripts?? anyway go wtih php (thats the new wave since html) , its really popular now, http://www.php.net

Stu
04-22-01, 12:04 AM
Actually, Perl (Practical Extraction and Report Language) was designed to supercede Awk and Sed. It is a really powerful text processing/pattern matching language, that happened to fold into CGI programmming quite nicely.

Another nice thing about it, is that it is available for windows. So, you can use the power of unix-style pattern matching on windows.

As for causing server strain. Yes, if you leave it in its script form it tends to take more time to execute than php or asp. However, two things to keep in mind. First, Perl isn't just a server-side scripting language, the other two mentioned are, but rather a scripting language that can be used in server-side scripting too. Second, you can compile Perl into a C binary. Which means no interpretting is necessary--meaning faster execution.

If you'd like to know more about Perl, go to its site (http://www.perl.com).

Philip
04-25-01, 12:36 AM
I have to agree with Stu, Perl definitely has its uses and it's not on its way out :)

It is not the fastest language out there, since it's interpreted rather than compiled, but it fits quite nicely into a webserver environment and it has tons of features. ;)

Just my 2c.