Advertisement
Tech

What is Perl Programming?

A brief history of Perl, from its origins in the 1980’s and an example of the simplicity of the language and some words on the benefits of open source, and where to learn more.

By nain
Desk Tech
Reading time 3 min read
Word count 493
Web development Internet Beginners tutorials
What is Perl Programming?
Advertisement
Quick Take

A brief history of Perl, from its origins in the 1980’s and an example of the simplicity of the language and some words on the benefits of open source, and where to learn more.

On this page

Perl is a computer programming language that was created by Larry Wall and first released in the late 1980’s. It is a popular programming tool and open source software package that promises stable and secure programming over many different platforms.

Perl was created by looking at the many other programming languages available like BASIC, awk and sed among them, and utilizing and refining the best features of those to create a more efficient and usable product. Perl is integrated to work with HTML and XML and also supports the MySQL database system, among many others.

Advertisement

There are many extensions to Perl called add ons that create extra functions and these are growing all the time as more are created for ease of use and functionality.

Perl has become among the most popular, possibly the most popular, programming languages thanks to its constant development, ease of use and simplicity.

Advertisement

Like many similar languages, the aim of Perl is to be simple to use and functional, with the emphasis on these areas rather than on looks and style. This gives the user a language that is quicker to use than many others that are burdened with the need to look good.

Simple commands

Let’s have a look at some simple Perl commands, and the syntax involved, in order to get an idea of the simplicity of the language.

Advertisement

Assuming we want the following message:

My name is John

Advertisement

to appear on screen, the Perl command would be, simply:

print “My name is John”;

Advertisement

That is the basic command which is simple and straightforward, and easy to remember.

There are rules to remember, however, such as not leaving space with quotations as it will be repeated in the function, and ending all commands with the semi colon.

Advertisement

To go too deep into the syntax of Perl would be unnecessary here, but the above example gives an idea of the sheer simplicity of the language. Bear in mind that the commands used in the likes of BASIC ‘if’, ‘Run’, and others are used in Perl, and the attraction of using such a simple and understandable programming language is greater.

Open source

As Perl is open source which is a system of development that involves the users review and constant modification. It is geared towards the end user and the requirements of the many, and will continue to provide a standard and usable programming language for the foreseeable future.

Advertisement

Indeed, a vast number of Perl ‘user groups’ have been established, via which users communicate and advise on possible improvements, and the language has a following that has resulted in its own journal and dedicated website which is a useful source of information.

There are many books available on this usable and innovative language and a large number aimed at the beginner or novice programmer. An introduction to one of these can be a useful way of getting a good knowledge of Perl.

Advertisement
Keep Exploring

More from Tech

Filed under
Web development Internet
More topics
Beginners tutorials
Advertisement