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 ?
Finally, what's really disappointing about Perl's poor display of critical acumen leveled at this survey of your art is the unrestrained condescension that accompanies it.
In Perl, defendants moved for summary judgment; Supreme Court denied the motion, but the Appellate Division reversed and dismissed the complaint, with two Justices dissenting (Perl v Meher, 74 AD3d 930 [2nd Dept 2010]).
Norlenghi's aim was broader than Perl's, and his volume of greater interest, as he not only wrote anecdotally about Wagner, the man, but also entered into the culture wars Italy was undergoing at the time, firmly in support of Wagnerian opera reform.
"The terms of the buyout for the guild were negotiated two weeks later," Perl said.
Perl, formerly marketing director at Cunard, sees huge potential in smaller cruise groups - Deilmann ships carry between 79 and 213 guests - offering high standards of personal service, food and accommodation.
Co-op marketing can be especially important to establish lasting relationships with Realtors and others, according to Dean Vlamis, Perl Mortgage, Chicago, Ill., who has developed an innovative approach.
Schmitt is president and CEO of FedEx Global Supply Chain Services, and Perl is a partner in a Memphis-based law firm who led the team that built the city's FedEx Forum.
Berndt Perl, APF Properties; Amira Yunis, Newmark Knight Frank Retail; Kenneth Aschendorf, APF Properties; Patricia Dunphy, Rockrose Development Corporation
"A big problem is that there's a tremendous amount of land that's still open," says Matthew Perl of the World Wildlife Fund (WWF).
Perl has many strengths, but two most often cited are its adaptability and propensity to work as a "glue" between applications and/or data.
Yesterday Sarah Perl, assistant commissioner of New York City's Bureau of Tobacco Control, said the ban has seen 150,000 fewer adults exposed to second-hand smoke on the job.