Also found in: Dictionary, Thesaurus, Medical, Financial, Acronyms, Wikipedia.
Related to Perl: python


a computer language that is used for text manipulation, esp on the World Wide Web




(language, tool)
A high-level programming language, started by Larry Wall in 1987 and developed as an open source project. It has an eclectic heritage, deriving from the ubiquitous C programming language and to a lesser extent from sed, awk, various Unix shell languages, Lisp, and at least a dozen other tools and languages. Originally developed for Unix, it is now available for many platforms.

Perl's elaborate support for regular expression matching and substitution has made it the language of choice for tasks involving string manipulation, whether for text or binary data. It is particularly popular for writing CGI scripts.

The language's highly flexible syntax and concise regular expression operators, make densely written Perl code indecipherable to the uninitiated. The syntax is, however, really quite simple and powerful and, once the basics have been mastered, a joy to write.

Perl's only primitive data type is the "scalar", which can hold a number, a string, the undefined value, or a typed reference. Perl's aggregate data types are arrays, which are ordered lists of scalars indexed by natural numbers, and hashes (or "associative arrays") which are unordered lists of scalars indexed by strings. A reference can point to a scalar, array, hash, function, or filehandle. Objects are implemented as references "blessed" with a class name. Strings in Perl are eight-bit clean, including nulls, and so can contain binary data.

Unlike C but like most Lisp dialects, Perl internally and dynamically handles all memory allocation, garbage collection, and type coercion.

Perl supports closures, recursive functions, symbols with either lexical scope or dynamic scope, nested data structures of arbitrary content and complexity (as lists or hashes of references), and packages (which can serve as classes, optionally inheriting methods from one or more other classes). There is ongoing work on threads, Unicode, exceptions, and backtracking. Perl program files can contain embedded documentation in POD (Plain Old Documentation), a simple markup language.

The normal Perl distribution contains documentation for the language, as well as over a hundred modules (program libraries). Hundreds more are available from The Comprehensive Perl Archive Network. Modules are themselves generally written in Perl, but can be implemented as interfaces to code in other languages, typically compiled C.

The free availability of modules for almost any conceivable task, as well as the fact that Perl offers direct access to almost all system calls and places no arbitrary limits on data structure size or complexity, has led some to describe Perl, in a parody of a famous remark about lex, as the "Swiss Army chainsaw" of programming.

The use of Perl has grown significantly since its adoption as the language of choice of many World-Wide Web developers. CGI interfaces and libraries for Perl exist for several platforms and Perl's speed and flexibility make it well suited for form processing and on-the-fly web page creation.

Perl programs are generally stored as text source files, which are compiled into virtual machine code at run time; this, in combination with its rich variety of data types and its common use as a glue language, makes Perl somewhat hard to classify as either a "scripting language" or an "applications language" -- see Ousterhout's dichotomy. Perl programs are usually called "Perl scripts", if only for historical reasons.

Version 5 was a major rewrite and enhancement of version 4, released sometime before November 1993. It added real data structures by way of "references", un-adorned subroutine calls, and method inheritance.

The spelling "Perl" is preferred over the older "PERL" (even though some explain the language's name as originating in the acronym for "Practical Extraction and Report Language"). The program that interprets/compiles Perl code is called "perl", typically "/usr/local/bin/perl" or "/usr/bin/perl".

Latest version: 5.005_03 stable, 5.005_62 in development, as of 1999-12-04.

Usenet newsgroups: news:comp.lang.perl.announce, news:comp.lang.perl.misc.

["Programming Perl", Larry Wall and Randal L. Schwartz, O'Reilly & Associates, Inc. Sebastopol, CA. ISBN 0-93715-64-1].

["Learning Perl" by Randal L. Schwartz, O'Reilly & Associates, Inc., Sebastopol, CA].


(Practical Extraction Report Language) A programming language written by Larry Wall that combines syntax from several Unix utilities and languages. Introduced in 1987, Perl is designed to handle a variety of system administrator functions and provides comprehensive string handling functions. It is widely used to write Web server programs for such tasks as automatically updating user accounts and newsgroup postings, processing removal requests, synchronizing databases and generating reports. Perl has also been adapted to non-Unix platforms. See mod_perl and LWP. See also PURL.
References in periodicals archive ?
Having served as a chaplain to police officers for several years and chaplain to the Nassau County Correctional Center," notes Rabbi Perl, "I know first-hand the difficult job these men and women undertake every day and I think we often take them for granted.
Perl was found guilty and was sentenced to two years in the House of Correction, suspended for five years with probation.
As new roads are opened up to get the soy out into the global market, the land is cleared, the timber is illegally logged, [and] the land is illegally acquired," Perl says.
Although I would personally like to see more discussion of type globs and input redirection here, I do agree that this chapter covers in a user-friendly manner most of the practical perl usage in this area.
Mastering Perl for Bioinformatics' is available now, priced at USD39.
The Perl language: an introduction to Perl, its history and culture, and its extensive text processing and data transformation capabilities.
The combination of Perl, Python and Mozilla allowed us to build a great IDE for rapid application development," said Dr.
JED PERL ISN'T WRONG about everything, but even when he's right, he's wrong.
There are sections here on Leger, on Calder and Aalto, on African art, and on the opening of the Getty Museum in California where Perl has no special axe to grind.
Arguably the best Perl books in print -- Programming Perl, Learning Perl, Perl in a Nutshell, Perl Cookbook, Learning Perl on Win32 Systems, and Advanced Perl Programming -- are now available on a single CD-ROM in the immensely convenient "Perl CD Bookshelf" by O'Reilly & Associates.
That year, Perl was finding hints in the debris of collisions between high-energy electrons and positrons of a hitherto undiscovered lepton.