Thursday, June 9, 2011

Popular Science Articles : Allergies .. Stress .. Skin Cancer .. Coffee and Headache

Explain Stuff – What is perl?

April 21, 2009 by admin  
Filed under Short Computer Articles








Perl (Practical Extraction and Reporting Language) , is an interpreted programming language with a huge number of uses, libraries and resources. Arguably one of the most discussed and used languages on the internet, Perl was first brought into being by Larry Wall circa 1987 as a general purpose Unix scripting language to process mail on Unix systems and since extended by a huge cast of characters.

Perl is a programming language which can be used for a large variety of tasks. A typical simple use of Perl would be for extracting information from a text file and printing out a report or for converting a text file into another form. But Perl provides a large number of tools for quite complicated problems, including systems programming. Programs written in Perl are called Perl scripts, whereas the term the perl program refers to the system program named perl for executing Perl scripts.

If you have used shell scripts or awk or sed or similar (Unix) utilities for various purposes, you will find that you can normally use Perl for those and many other purposes, and the code tends to be more compact.

Perl is implemented as an interpreted (not compiled) language. Thus, the execution of a Perl script tends to use more CPU time than a corresponding C program, for instance. On the other hand, computers tend to get faster and faster, and writing something in Perl instead of C tends to save your time.
Advantages:

Advantages :

Portability: Perl code that doesn’t use system specific features can be run on any platform, and these days almost every operating systems support it.
String processing and especially Regular expression support: Perl is a winner in everything related to string processing. Its regular expression support is the most versatile in existence and seamlessly integrated into the language. (In fact, it is so good, that Perl has set a new standard for regular expression, which is now emulated in many other programs and languages).
CPAN: www.cpan.org has a huge collection of free and reusable Perl code for many purposes – Science, system administration, Mathematics, Biology, foreign languages, database access, networking, etc.

Edit: Because of the obvious mistake I made in the post, I am considering posting the FAQ link to perl so users can easily read the documentation.

Share and Enjoy:
  • Digg
  • Twitter
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Live
  • StumbleUpon
  • Technorati
  • Yahoo! Buzz
  • email
  • MySpace
  • Reddit
  • RSS
  • Yahoo! Bookmarks

Related posts:

  1. Fact of The Day – What is that Error? While you are working along with your computer and suddenly the screen flashes, the computer or application stops, an error message flashes on the screen,...
  2. Strange Computer Laws – Explain Stuff – Fact of the day. Hi friends following are Strange Computer laws , many of them seem funny but most of the times they have been proven right. Read further...
  3. What is Data Mining? What? How? Can? Explainstuff – Concept of the day. ExplainStuff.com jumps into a technical sector and explains about what Data Mining is and how it is used and can it be used to counter...
  4. Explain Stuff | Fact of the day | Install Windows XP Unattended. You can install XP unattended, so you won't have to sit through the installation process if you are upgrading from another operating system. Simply follow...
  5. Explain Memory Leaks – Explain stuff – Fact of the day We many times encounter slowing browsers, slowing computers, slowing applications and wonder what in the world is wrong with them. Most often than not,...
  6. Explain Stuff: Fact of The Day: How great brands got their names? Apple, Google, Microsoft, Oracle, yahoo, Cisco…. Ever wondered how Apple Computers got it's name? An Apple to represent a computer maker? That sounds very interesting! This article tells us how Apple,...



Science Articles

Comments

4 Responses to “Explain Stuff – What is perl?”
  1. mike south says:

    From "perldoc perlfaq1":

    But never write
    "PERL", because perl is not an acronym, apocryphal folklore and post‐
    facto expansions notwithstanding.

  2. vecchi.b says:

    Just a minor quibble. It's not PERL, it's Perl. Practical Extraction and Reporting Language is not actually an acronym, but a backronym. The name Perl was chosen by Larry Wall after dutifully going through all three and four letter-words in the alphabet.
    For more information on this (and why it is wrong to use all capitals), see this:
    http://www.perlmonks.org/?node_id=461339

  3. explainstuff intensedebate.com says:

    Hey Mike!

    I honestly appreciate you pointing out the error in the post and I appreciate the fact that you took time to fetch the exact explanation! This is what any blogger wants from his/her visitors! Thanks again for not just plainly visiting, but also posting and pointing out the correction!

  4. explainstuff intensedebate.com says:

    Thanks a lot vecchi for the link! and the explanation of the mistake I made in the post. I honestly appreciate the fact that you took time to clearly explain it and then also post a reference link.

    I have now edited the post with the link to the perlfaq page.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!