perlglossary.html

来自「perl教程」· HTML 代码 · 共 1,506 行 · 第 1/5 页

HTML
1,506 行
字号
line.  <a href="#item_makefile">Makefile</a> lines are continued by putting a backslash before
the <a href="#item_newline">newline</a>.  Mail headers as defined by RFC 822 are continued by
putting a space or tab <em>after</em> the newline.  In general, lines in
Perl do not need any form of continuation mark, because <a href="#item_whitespace">whitespace</a>
(including newlines) is gleefully ignored.  Usually.</p>
</dd>
</li>
<dt><strong><a name="item_core_dump">core dump</a></strong>

<dd>
<p>The corpse of a <a href="#item_process">process</a>, in the form of a file left in the
<a href="#item_working_directory">working directory</a> of the process, usually as a result of certain
kinds of fatal error.</p>
</dd>
</li>
<dt><strong><a name="item_cpan">CPAN</a></strong>

<dd>
<p>The Comprehensive Perl Archive Network.  (See <a href="../../lib/Pod/perlfaq2.html#what_modules_and_extensions_are_available_for_perl_what_is_cpan_what_does_cpane_sol_srce_sol_____mean">What modules and extensions are available for Perl?  What is CPAN?  What does CPAN&sol;src&sol;... mean? in the perlfaq2 manpage</a>).</p>
</dd>
</li>
<dt><strong><a name="item_cracker">cracker</a></strong>

<dd>
<p>Someone who breaks security on computer systems.  A cracker may be a
true <a href="#item_hacker">hacker</a> or only a <a href="#item_script_kiddie">script kiddie</a>.</p>
</dd>
</li>
<dt><strong><a name="item_current_package">current package</a></strong>

<dd>
<p>The <a href="#item_package">package</a> in which the current statement is compiled.  Scan
backwards in the text of your program through the current <a href="#item_lexical_scoping">lexical scope</a> or any enclosing lexical scopes till you find
a package declaration.  That's your current package name.</p>
</dd>
</li>
<dt><strong><a name="item_current_working_directory">current working directory</a></strong>

<dd>
<p>See <a href="#item_working_directory">working directory</a>.</p>
</dd>
</li>
<dt><strong><a name="item_currently_selected_output_channel">currently selected output channel</a></strong>

<dd>
<p>The last <a href="#item_filehandle">filehandle</a> that was designated with
<a href="../../lib/Pod/perlfunc.html#select">select</a>(<code>FILEHANDLE</code>); <a href="#item_stdout">STDOUT</a>, if no filehandle
has been selected.</p>
</dd>
</li>
<dt><strong><a name="item_cv">CV</a></strong>

<dd>
<p>An internal &quot;code value&quot; typedef, holding a <a href="#item_subroutine">subroutine</a>.  The <a href="#item_cv">CV</a>
type is a subclass of <a href="#item_sv">SV</a>.</p>
</dd>
</li>
</dl>
<p>
</p>
<h2><a name="d">D</a></h2>
<dl>
<dt><strong><a name="item_dangling_statement">dangling statement</a></strong>

<dd>
<p>A bare, single <a href="#item_statement">statement</a>, without any braces, hanging off an <code>if</code>
or <code>while</code> conditional.  C allows them.  Perl doesn't.</p>
</dd>
</li>
<dt><strong><a name="item_data_structure">data structure</a></strong>

<dd>
<p>How your various pieces of data relate to each other and what shape
they make when you put them all together, as in a rectangular table or
a triangular-shaped tree.</p>
</dd>
</li>
<dt><strong><a name="item_data_type">data type</a></strong>

<dd>
<p>A set of possible values, together with all the operations that know
how to deal with those values.  For example, a numeric data type has a
certain set of numbers that you can work with and various mathematical
operations that you can do on the numbers but would make little sense
on, say, a string such as <code>&quot;Kilroy&quot;</code>.  Strings have their own
operations, such as <a href="#item_concatenation">concatenation</a>.  Compound types made of a
number of smaller pieces generally have operations to compose and
decompose them, and perhaps to rearrange them.  <a href="#item_object">Objects</a>
that model things in the real world often have operations that
correspond to real activities.  For instance, if you model an
elevator, your elevator object might have an <code>open_door()</code>
<a href="#item_method">method</a>.</p>
</dd>
</li>
<dt><strong><a name="item_datagram">datagram</a></strong>

<dd>
<p>A packet of data, such as a <a href="#item_udp">UDP</a> message, that (from the viewpoint
of the programs involved) can be sent independently over the network.
(In fact, all packets are sent independently at the <a href="#item_ip">IP</a> level, but
<a href="#item_stream">stream</a> protocols such as <a href="#item_tcp">TCP</a> hide this from your program.)</p>
</dd>
</li>
<dt><strong><a name="item_dbm">DBM</a></strong>

<dd>
<p>Stands for &quot;Data Base Management&quot; routines, a set of routines that
emulate an <a href="#item_associative_array">associative array</a> using disk files.  The routines use a
dynamic hashing scheme to locate any entry with only two disk
accesses.  DBM files allow a Perl program to keep a persistent
<a href="#item_hash">hash</a> across multiple invocations.  You can <a href="../../lib/Pod/perlfunc.html#tie">tie</a>
your hash variables to various DBM implementations--see <a href="../../lib/AnyDBM_File.html">the AnyDBM_File manpage</a>
and <em>DB_File</em>.</p>
</dd>
</li>
<dt><strong><a name="item_declaration">declaration</a></strong>

<dd>
<p>An <a href="#item_assertion">assertion</a> that states something exists and perhaps describes
what it's like, without giving any commitment as to how or where
you'll use it.  A declaration is like the part of your recipe that
says, &quot;two cups flour, one large egg, four or five tadpoles...&quot;  See
<a href="#item_statement">statement</a> for its opposite.  Note that some declarations also
function as statements.  Subroutine declarations also act as
definitions if a body is supplied.</p>
</dd>
</li>
<dt><strong><a name="item_decrement">decrement</a></strong>

<dd>
<p>To subtract a value from a variable, as in &quot;decrement <code>$x</code>&quot; (meaning
to remove 1 from its value) or &quot;decrement <code>$x</code> by 3&quot;.</p>
</dd>
</li>
<dt><strong><a name="item_default">default</a></strong>

<dd>
<p>A <a href="#item_value">value</a> chosen for you if you don't supply a value of your own.</p>
</dd>
</li>
<dt><strong><a name="item_defined">defined</a></strong>

<dd>
<p>Having a meaning.  Perl thinks that some of the things people try to
do are devoid of meaning, in particular, making use of variables that
have never been given a <a href="#item_value">value</a> and performing certain operations on
data that isn't there.  For example, if you try to read data past the
end of a file, Perl will hand you back an undefined value.  See also
<a href="#item_false">false</a> and <a href="../../lib/Pod/perlfunc.html#defined">defined in the perlfunc manpage</a>.</p>
</dd>
</li>
<dt><strong><a name="item_delimiter">delimiter</a></strong>

<dd>
<p>A <a href="#item_character">character</a> or <a href="#item_string">string</a> that sets bounds to an arbitrarily-sized
textual object, not to be confused with a <a href="#item_separator">separator</a> or
<a href="#item_terminator">terminator</a>.  &quot;To delimit&quot; really just means &quot;to surround&quot; or &quot;to
enclose&quot; (like these parentheses are doing).</p>
</dd>
</li>
<dt><strong><a name="item_dereference">dereference</a></strong>

<dd>
<p>A fancy computer science term meaning &quot;to follow a <a href="#item_reference">reference</a> to
what it points to&quot;.  The &quot;de&quot; part of it refers to the fact that
you're taking away one level of <a href="#item_indirection">indirection</a>.</p>
</dd>
</li>
<dt><strong><a name="item_derived_class">derived class</a></strong>

<dd>
<p>A <a href="#item_class">class</a> that defines some of its <a href="#item_method">methods</a> in terms of a
more generic class, called a <a href="#item_base_class">base class</a>.  Note that classes aren't
classified exclusively into base classes or derived classes: a class
can function as both a derived class and a base class simultaneously,
which is kind of classy.</p>
</dd>
</li>
<dt><strong><a name="item_descriptor">descriptor</a></strong>

<dd>
<p>See <a href="#item_file_descriptor">file descriptor</a>.</p>
</dd>
</li>
<dt><strong><a name="item_destroy">destroy</a></strong>

<dd>
<p>To deallocate the memory of a <a href="#item_referent">referent</a> (first triggering its
<code>DESTROY</code> method, if it has one).</p>
</dd>
</li>
<dt><strong><a name="item_destructor">destructor</a></strong>

<dd>
<p>A special <a href="#item_method">method</a> that is called when an <a href="#item_object">object</a> is thinking
about <a href="#item_destroy">destroying</a> itself.  A Perl program's <code>DESTROY</code>
method doesn't do the actual destruction; Perl just
<a href="#item_trigger">triggers</a> the method in case the <a href="#item_class">class</a> wants to do any
associated cleanup.</p>
</dd>
</li>
<dt><strong><a name="item_device">device</a></strong>

<dd>
<p>A whiz-bang hardware gizmo (like a disk or tape drive or a modem or a
joystick or a mouse) attached to your computer, that the <a href="#item_operating_system">operating system</a> tries to make look like a <a href="#item_file">file</a> (or a bunch of files).
Under Unix, these fake files tend to live in the <em>/dev</em> directory.</p>
</dd>
</li>
<dt><strong><a name="item_directive">directive</a></strong>

<dd>
<p>A <a href="#item_pod">pod</a> directive.  See <a href="../../lib/Pod/perlpod.html">the perlpod manpage</a>.</p>
</dd>
</li>
<dt><strong><a name="item_directory">directory</a></strong>

<dd>
<p>A special file that contains other files.  Some <a href="#item_operating_system">operating systems</a> call these &quot;folders&quot;, &quot;drawers&quot;, or
&quot;catalogs&quot;.</p>
</dd>
</li>
<dt><strong><a name="item_directory_handle">directory handle</a></strong>

<dd>
<p>A name that represents a particular instance of opening a directory to
read it, until you close it.  See the <a href="../../lib/Pod/perlfunc.html#opendir">opendir</a>
function.</p>
</dd>
</li>
<dt><strong><a name="item_dispatch">dispatch</a></strong>

<dd>
<p>To send something to its correct destination.  Often used
metaphorically to indicate a transfer of programmatic control to a
destination selected algorithmically, often by lookup in a table of
function <a href="#item_reference">references</a> or, in the case of object
<a href="#item_method">methods</a>, by traversing the inheritance tree looking for the
most specific definition for the method.</p>
</dd>
</li>
<dt><strong><a name="item_distribution">distribution</a></strong>

<dd>
<p>A standard, bundled release of a system of software.  The default
usage implies source code is included.  If that is not the case, it
will be called a &quot;binary-only&quot; distribution.</p>
</dd>
</li>
<dt><strong><a name="item_dweomer">dweomer</a></strong>

<dd>
<p>An enchantment, illusion, phantasm, or jugglery.  Said when Perl's
magical <a href="#item_dwimmer">dwimmer</a> effects don't do what you expect, but rather seem
to be the product of arcane dweomercraft, sorcery, or wonder working.
[From Old English]</p>
</dd>
</li>
<dt><strong><a name="item_dwimmer">dwimmer</a></strong>

<dd>
<p>DWIM is an acronym for &quot;Do What I Mean&quot;, the principle that something
should just do what you want it to do without an undue amount of fuss.
A bit of code that does &quot;dwimming&quot; is a &quot;dwimmer&quot;.  Dwimming can
require a great deal of behind-the-scenes magic, which (if it doesn't
stay properly behind the scenes) is called a <a href="#item_dweomer">dweomer</a> instead.</p>
</dd>
</li>
<dt><strong><a name="item_dynamic_scoping">dynamic scoping</a></strong>

<dd>
<p>Dynamic scoping works over a dynamic scope, making variables visible
throughout the rest of the <a href="#item_block">block</a> in which they are first used and
in any <a href="#item_subroutine">subroutines</a> that are called by the rest of the
block.  Dynamically scoped variables can have their values temporarily
changed (and implicitly restored later) by a <a href="../../lib/Pod/perlfunc.html#local">local</a>
operator.  (Compare <a href="#item_lexical_scoping">lexical scoping</a>.)  Used more loosely to mean
how a subroutine that is in the middle of calling another subroutine
&quot;contains&quot; that subroutine at <a href="#item_run_time">run time</a>.</p>
</dd>
</li>
</dl>
<p>
</p>
<h2><a name="e">E</a></h2>
<dl>
<dt><strong><a name="item_eclectic">eclectic</a></strong>

<dd>
<p>Derived from many sources.  Some would say <em>too</em> many.</p>
</dd>
</li>
<dt><strong><a name="item_element">element</a></strong>

<dd>
<p>A basic building block.  When you're talking about an <a href="#item_array">array</a>, it's
one of the items that make up the array.</p>
</dd>
</li>
<dt><strong><a name="item_embedding">embedding</a></strong>

<dd>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?