英文字典中文字典


英文字典中文字典51ZiDian.com



中文字典辞典   英文字典 a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z       







请输入英文单字,中文词皆可:

Perl    音标拼音: [p'ɚl]
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.

{(http://perl.com/)}.

{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].

[{Jargon File}]

(1999-12-04)

Practical Extraction and Report Language (PERL)

Perl: /perl/, n. [Practical Extraction and Report Language, a.k.a. Pathologically
Eclectic Rubbish Lister] An interpreted language developed by Larry Wall,
author of
patch(1)
and
rn(1)).
Superficially resembles awk, but is much hairier,
including many facilities reminiscent of
sed(1)
and shells and a comprehensive Unix system-call interface. Unix sysadmins,
who are almost always incorrigible hackers, generally consider it one of
the languages of choice, and it is by far the most
widely used tool for makingliveweb pages via CGI. Perl has
been described, in a parody of a famous remark about
lex(1),
as the Swiss-Army chainsaw of Unix programming.
Though Perl is very useful, it would be a stretch to describe it as pretty
or elegant; people who like clean, spare design
generally prefer Python. See also Camel
Book, TMTOWTDI.


请选择你想看的字典辞典:
单词字典翻译
Perl查看 Perl 在百度字典中的解释百度英翻中〔查看〕
Perl查看 Perl 在Google字典中的解释Google英翻中〔查看〕
Perl查看 Perl 在Yahoo字典中的解释Yahoo英翻中〔查看〕





安装中文字典英文字典查询工具!


中文字典英文字典工具:
选择颜色:
输入中英文单字

































































英文字典中文字典相关资料:


  • syntax - What are the differences between $, @, % in a Perl variable . . .
    Here the sigil changes to $ to denote that you are accessing a scalar, however the trailing [0] tells perl that it is accessing a scalar element of the array in _ or in other words, @_ – Eric Strom
  • 如何从零开始学习 Perl? - 知乎
    Learning Perl (豆瓣) 开始。快速浏览加实践下书上代码,两天就可以读个大概。 不过小骆驼书只覆盖了Perl Programming最基础的一部分知识,当你需要用Perl做面对对象或者大型程序编程时,有必要去读一下神兽书—— Intermediate Perl (豆瓣) 。
  • perl - The correct way to read a data file into an array - Stack Overflow
    The solutions above tend to use convenient shorthands to copy the entire file into memory, which will work in many cases For very large files you may need to use a streaming design where read the file by line or in chucks, process the chunks, then discard them from memory See the answer on reading line by line with perl if that's what you need
  • How can I use a variable as a variable name in Perl?
    perl evalVariableInterpolation pl Array Value: this is array 1 Message String: Message1 Array Value: this
  • Running Perl Script from Command Line? - Stack Overflow
    You need to export the Perl interpreter (usually named perl) to your path Then you can simply do perl path to script pl In UNIX-based systems you are also able to run the scripts directly if you prepend #! usr bin perl to the scripts and give them executable permissions (you might need to replace usr bin perl with the path to your Perl
  • How do I include functions from another file in my Perl script?
    All of the namespace benefits can be achieved in a required perl script just like a perl module The "magic" is in what you put in the script The only caveat to including a script is you need to return 1; at the end of the script, or perl says it failed, even if you haven't called anything in the script require " trims pl"
  • Why is Perl the best choice for most string manipulation tasks?
    People who code hack in perl (e g SysAdmins) who have very little training, experience or incentive to do software development E g the percentage of people using Perl who do quick and dirty hacks with bad style and worse code quality is probably higher than, say Python
  • How do we configure SSH using Perl in Windows? - Stack Overflow
    c:\cygwin\bin\perl exe myscript pl That technique will work with some Perl scripts but not all It was giving me heck trying to use NET:SSH:EXPECT and the login() method It would abort with strange errors A better way to call your Perl instance running in Cygwin from the Windows command prompt is this: c:\cygwin\bin\bash --login -c 'perl
  • How to match a newline \n in a perl regex? - Stack Overflow
    In some cases it might not work because of how perl "slurps" the input Passing -0777 as a parameter will make it consider multiple lines (Pass it along with your other parameters, e g perl -0777pi -e)
  • How do I get a files last modified time in Perl? - Stack Overflow
    Alternatively, you can use the built-in module File::stat (included as of Perl 5 004) for a more object-oriented interface And to avoid the magic number 9 needed in the previous example, additionally use Time::localtime, another built-in module (also included as of Perl 5 004) Together these lead to some (arguably) more legible code:





中文字典-英文字典  2005-2009