Perl is a programming accent developed by Larry Wall, abnormally advised for argument processing. It stands for Practical Extraction and Report Language. It runs on a array of platforms, such as Windows, Mac OS, and the assorted versions of UNIX.

This tutorial provides a complete compassionate on Perl.


For best of the examples accustomed in this tutorial you will acquisition Try it option, so aloof accomplish use of this advantage to assassinate your Perl programs at the atom and adore your learning.

Try afterward archetype application Try it advantage accessible at the top appropriate bend of the beneath sample cipher box −


# This will book "Hello, Bagesh"
print "Hello, Bagesh\n";

Perl is a general-purpose programming accent originally developed for argument abetment and now acclimated for a advanced ambit of tasks including arrangement administration, web development, arrangement programming, GUI development, and more.

What is Perl?

  • Perl is a stable, cantankerous belvedere programming language.

  • Though Perl is not clearly an acronym but few bodies acclimated it as Practical Extraction and Report Language.

  • It is acclimated for mission analytical projects in the accessible and clandestine sectors.

  • Perl is an Open Source software, accountant beneath its Artistic License, or the GNU General Accessible License (GPL).

  • Perl was created by Larry Wall.

  • Perl 1.0 was appear to usenet’s alt.comp.sources in 1987.

  • At the time of autograph this tutorial, the latest adaptation of perl was 5.16.2.

  • Perl is listed in the Oxford English Dictionary.

PC Magazine appear Perl as the finalist for its 1998 Technical Excellence Award in the Development Tool category.

Perl Features

  • Perl takes the best appearance from added languages, such as C, awk, sed, sh, and BASIC, amid others.

  • Perls database affiliation interface DBI supports third-party databases including Oracle, Sybase, Postgres, MySQL and others.

  • Perl works with HTML, XML, and added mark-up languages.

  • Perl supports Unicode.

  • Perl is Y2K compliant.

  • Perl supports both procedural and acquisitive programming.

  • Perl interfaces with alien C/C libraries through XS or SWIG.

  • Perl is extensible. There are over 20,000 third affair modules accessible from the Comprehensive Perl Archive Arrangement (CPAN).

  • The Perl analyst can be anchored into added systems.

Perl and the Web

  • Perl acclimated to be the best accepted web programming accent due to its argument abetment capabilities and accelerated development cycle.

  • Perl is broadly accepted as “the duct-tape of the Internet”.

  • Perl can handle encrypted Web data, including e-commerce transactions.

  • Perl can be anchored into web servers to acceleration up processing by as abundant as 2000%.

  • Perl’s mod_perl allows the Apache web server to bury a Perl interpreter.

  • Perl’s DBI amalgamation makes web-database affiliation easy.

Perl is Interpreted

Perl is an interpreted language, which agency that your cipher can be run as is, after a accumulation date that creates a non carriageable executable program.

Traditional compilers catechumen programs into apparatus language. When you run a Perl program, it’s aboriginal aggregate into a byte code, which is again adapted ( as the affairs runs) into apparatus instructions. So it is not absolutely the aforementioned as shells, or Tcl, which are strictly interpreted after an average representation.

It is additionally not like best versions of C or C , which are aggregate anon into a apparatus abased format. It is about in between, forth with Python and awk and Emacs .elc files.