CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: General Discussions: General Questions:
Perl and others scripts language



Oct 31, 2000, 5:27 AM

Post #1 of 6 (12044 views)
Perl and others scripts language Can't Post

Can anyone tell me what is the pros and cons of perl comparing with others programming language or scripts like Javascript, PHP, ASP, XML, etc.


Oct 31, 2000, 6:47 AM

Post #2 of 6 (12044 views)
Re: Perl and others scripts language [In reply to] Can't Post

Perl Pros
- Perl is portable. You can write a script and it will run on all flavours of UNIX, Windows, MacOS etc (VBScript isn't portable and won't do this!!!) An impressive feat!

- Perl is more powerful and has loads of modules. Just check out CPAN. It's a shame there aren't more Perl programmers on the Windows and MacOS platforms though :(

- Perl is flexible. It can be used for many different tasks, not just web programming (PHP is a little too web oriented to be as flexible as Perl), from logon scripts, to system task monitors.

- Perl is easy. You only need to know a very little to get started and you can create meaningful programs that do real stuff. Unlike C and C++, it is also very kind when it falls over ;)

Perl Cons
- None that I know of. But being a Perl lover, I guess I'm biased. If anything, it's a shame more people don't know about the powers of Perl. It's a great language and really lets you program the way you want to.

*NB XML IS NOT A PROGRAMMING OR SCRIPTING LANGUAGE!!! It is a meta language that allows you to create your own tagged languages. Check out the XML FAQ to get a better understanding of what XML really is -

DrKJam (Hope that was helpful)


Oct 31, 2000, 12:33 PM

Post #3 of 6 (12044 views)
Re: Perl and others scripts language [In reply to] Can't Post

 I can think of one thing to add as a con. Compared to c++ or c, you can't use perl to develope windows aplications for the desktop on your pc becuase most people don't have perl installed. Also, c++ can be used to make more complex programs, like internet explorer, or cute ftp. As for internet programming perl tops em all. I've looked into PHP and I have tried writing it a little, but it takes less to do the same thing in perl, I don't like that in PHP there usually is only one way to do something. Plus no split in PHP.

This article is pretty good too, I can't find the article I read about direct comparison between perl, php, python, c++, and javascript, but they rated perl the best.


[This message has been edited by sleuth (edited 10-31-2000).]


Oct 31, 2000, 5:28 PM

Post #4 of 6 (12044 views)
Re: Perl and others scripts language [In reply to] Can't Post

Thank you guys, that was very informative for me.


Nov 27, 2000, 8:28 PM

Post #5 of 6 (12044 views)
Re: Perl and others scripts language [In reply to] Can't Post

Every language has it's own uses PERL is used basically for String manipulation or for the creation of small to medium sized CGI program and PERL is very good in it, You cannot compare it with c++ or any other language coz c++ has it's own use where are PERL has it's own specific purpose and it's very well suited for it comparing Perl with c++ or other languages is like comparin win95 with winnt od Dos with linux

Ahmad Mushtaq


Dec 8, 2000, 4:47 PM

Post #6 of 6 (12044 views)
Re: Perl and others scripts language [In reply to] Can't Post

The big drawback of perl is the initial compile time with the interpreter (unless you've compiled your script already). It's only a problem when CGI programming.

But I like it anyway...

Encore Web Forum
Extremely versatile and 100% customisable forum software!


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives