Computing.Net > Forums > Programming > Basic PERL question

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Basic PERL question

Reply to Message Icon

Name: PERL of wisdom
Date: July 15, 2002 at 00:38:28 Pacific
Comment:

Hi

Could somebody please tell me what PERL is mainly used for? Really broad question - I realise. I understand it is considered a high-level language - and to me that usually means there's a specific type of approach its particularly good at taking.

Bizarrely, at www.perl.com I couldn't find much info about it!

Thanks
PoW



Sponsored Link
Ads by Google

Response Number 1
Name: cup
Date: July 15, 2002 at 02:20:15 Pacific
Reply:

Don't know about "mainly used". I know what it can be used for: just about anything. Uses I've seen are

1) a good replacement for the Unix shell script/awk/grep/sed stuff.

2) server side CGI.

3) a good substitute for DOS.

4) a simple database

The advantage is that it is precompiled before the script is executed so it is a lot faster than most of the script languages and you will know about any errors before the script runs instead of finding out after the script has been running for 5 hours.

The only problem with Perl is that there is no right way of writing it. The same thing can be written in a myriad of styles, depending on what the author is used to and what the author knows about the language. It can be quite verbose or extremely terse. In some ways it is worse than any other language I've seen and in some ways it is brilliant: a great contender for another obfuscated programming contest.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Basic PERL question

Perl: how to sort string? www.computing.net/answers/programming/perl-how-to-sort-string/3516.html

Perl question www.computing.net/answers/programming/perl-question-/13666.html

Perl Recursive Function www.computing.net/answers/programming/perl-recursive-function/11548.html