perlglossary.pod
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· POD 代码 · 共 1,930 行 · 第 1/5 页
POD
1,930 行
unbuffered, the system processes it one byte at a time without the useof a holding area. This can be rather inefficient.=item built-inA L</function> that is predefined in the language. Even when hiddenby L</overriding>, you can always get at a built-in function byL<qualifying|/qualified> its name with the C<CORE::> pseudo-package.=item bundleA group of related modules on L</CPAN>. (Also, sometimes refers to agroup of command-line switches grouped into one L</switch cluster>.)=item byteA piece of data worth eight L<bits|/bit> in most places.=item bytecodeA pidgin-like language spoken among 'droids when they don't wish toreveal their orientation (see L</endian>). Named after some similarlanguages spoken (for similar reasons) between compilers andinterpreters in the late 20th century. These languages arecharacterized by representing everything as anon-architecture-dependent sequence of bytes.=back=head2 C=over 4=item CA language beloved by many for its inside-out L</type> definitions,inscrutable L</precedence> rules, and heavy L</overloading> of thefunction-call mechanism. (Well, actually, people first switched to Cbecause they found lowercase identifiers easier to read than upper.)Perl is written in C, so it's not surprising that Perl borrowed a fewideas from it.=item C preprocessorThe typical C compiler's first pass, which processes lines beginningwith C<#> for conditional compilation and macro definition and doesvarious manipulations of the program text based on the currentdefinitions. Also known as I<cpp>(1).=item call by referenceAn L</argument>-passing mechanism in which the L</formal arguments>refer directly to the L</actual arguments>, and the L</subroutine> canchange the actual arguments by changing the formal arguments. Thatis, the formal argument is an L</alias> for the actual argument. Seealso L</call by value>.=item call by valueAn L</argument>-passing mechanism in which the L</formal arguments>refer to a copy of the L</actual arguments>, and the L</subroutine>cannot change the actual arguments by changing the formal arguments.See also L</call by reference>.=item callbackA L</handler> that you register with some other part of your programin the hope that the other part of your program will L</trigger> yourhandler when some event of interest transpires.=item canonicalReduced to a standard form to facilitate comparison.=item capturingThe use of parentheses around a L</subpattern> in a L</regularexpression> to store the matched L</substring> as a L</backreference>.(Captured strings are also returned as a list in L</list context>.)=item characterA small integer representative of a unit of orthography.Historically, characters were usually stored as fixed-width integers(typically in a byte, or maybe two, depending on the character set),but with the advent of UTF-8, characters are often stored in avariable number of bytes depending on the size of the integer thatrepresents the character. Perl manages this transparently for you,for the most part.=item character classA square-bracketed list of characters used in a L</regular expression>to indicate that any character of the set may occur at a given point.Loosely, any predefined set of characters so used.=item character propertyA predefined L</character class> matchable by the C<\p>L</metasymbol>. Many standard properties are defined for L</Unicode>.=item circumfix operatorAn L</operator> that surrounds its L</operand>, like the angleoperator, or parentheses, or a hug.=item classA user-defined L</type>, implemented in Perl via a L</package> thatprovides (either directly or by inheritance) L<methods|/method> (thatis, L<subroutines|/subroutine>) to handle L<instances|/instance> ofthe class (its L<objects|/object>). See also L</inheritance>.=item class methodA L</method> whose L</invocant> is a L</package> name, not anL</object> reference. A method associated with the class as a whole.=item clientIn networking, a L</process> that initiates contact with a L</server>process in order to exchange data and perhaps receive a service.=item cloisterA L</cluster> used to restrict the scope of a L</regular expressionmodifier>.=item closureAn L</anonymous> subroutine that, when a reference to it is generatedat run time, keeps track of the identities of externally visibleL<lexical variables|/lexical variable> even after those lexicalvariables have supposedly gone out of L</scope>. They're called"closures" because this sort of behavior gives mathematicians a senseof closure.=item clusterA parenthesized L</subpattern> used to group parts of a L</regularexpression> into a single L</atom>.=item CODEThe word returned by the L<ref|perlfunc/ref> function when you applyit to a reference to a subroutine. See also L</CV>.=item code generatorA system that writes code for you in a low-level language, such ascode to implement the backend of a compiler. See L</programgenerator>.=item code subpatternA L</regular expression> subpattern whose real purpose is to executesome Perl code, for example, the C<(?{...})> and C<(??{...})>subpatterns.=item collating sequenceThe order into which L<characters|/character> sort. This is used byL</string> comparison routines to decide, for example, where in thisglossary to put "collating sequence".=item commandIn L</shell> programming, the syntactic combination of a program nameand its arguments. More loosely, anything you type to a shell (acommand interpreter) that starts it doing something. Even moreloosely, a Perl L</statement>, which might start with a L</label> andtypically ends with a semicolon.=item command bufferingA mechanism in Perl that lets you store up the output of each PerlL</command> and then flush it out as a single request to theL</operating system>. It's enabled by setting the C<$|>(C<$AUTOFLUSH>) variable to a true value. It's used when you don'twant data sitting around not going where it's supposed to, which mayhappen because the default on a L</file> or L</pipe> is to useL</block buffering>.=item command nameThe name of the program currently executing, as typed on the commandline. In C, the L</command> name is passed to the program as thefirst command-line argument. In Perl, it comes in separately asC<$0>.=item command-line argumentsThe L<values|/value> you supply along with a program name when youtell a L</shell> to execute a L</command>. These values are passed toa Perl program through C<@ARGV>.=item commentA remark that doesn't affect the meaning of the program. In Perl, acomment is introduced by a C<#> character and continues to the end ofthe line.=item compilation unitThe L</file> (or L</string>, in the case of L<eval|perlfunc/eval>)that is currently being compiled.=item compile phaseAny time before Perl starts running your main program. See alsoL</run phase>. Compile phase is mostly spent in L</compile time>, butmay also be spent in L</run time> when C<BEGIN> blocks,L<use|perlfunc/use> declarations, or constant subexpressions are beingevaluated. The startup and import code of any L<use|perlfunc/use>declaration is also run during compile phase.=item compile timeThe time when Perl is trying to make sense of your code, as opposed towhen it thinks it knows what your code means and is merely trying todo what it thinks your code says to do, which is L</run time>.=item compilerStrictly speaking, a program that munches up another program and spitsout yet another file containing the program in a "more executable"form, typically containing native machine instructions. The I<perl>program is not a compiler by this definition, but it does contain akind of compiler that takes a program and turns it into a moreexecutable form (L<syntax trees|/syntax tree>) within the I<perl>process itself, which the L</interpreter> then interprets. There are,however, extension L<modules|/module> to get Perl to act more like a"real" compiler. See L<O>.=item composerA "constructor" for a L</referent> that isn't really an L</object>,like an anonymous array or a hash (or a sonata, for that matter). Forexample, a pair of braces acts as a composer for a hash, and a pair ofbrackets acts as a composer for an array. See L<perlref/MakingReferences>.=item concatenationThe process of gluing one cat's nose to another cat's tail. Also, asimilar operation on two L<strings|/string>.=item conditionalSomething "iffy". See L</Boolean context>.=item connectionIn telephony, the temporary electrical circuit between the caller'sand the callee's phone. In networking, the same kind of temporarycircuit between a L</client> and a L</server>.=item constructAs a noun, a piece of syntax made up of smaller pieces. As atransitive verb, to create an L</object> using a L</constructor>.=item constructorAny L</class method>, instance L</method>, or L</subroutine>that composes, initializes, blesses, and returns an L</object>.Sometimes we use the term loosely to mean a L</composer>.=item contextThe surroundings, or environment. The context given by thesurrounding code determines what kind of data a particularL</expression> is expected to return. The three primary contexts areL</list context>, L</scalar context>, and L</void context>. Scalarcontext is sometimes subdivided into L</Boolean context>, L</numericcontext>, L</string context>, and L</void context>. There's also a"don't care" scalar context (which is dealt with in Programming Perl,Third Edition, Chapter 2, "Bits and Pieces" if you care).=item continuationThe treatment of more than one physical L</line> as a single logicalline. L</Makefile> lines are continued by putting a backslash beforethe L</newline>. Mail headers as defined by RFC 822 are continued byputting a space or tab I<after> the newline. In general, lines inPerl do not need any form of continuation mark, because L</whitespace>(including newlines) is gleefully ignored. Usually.=item core dumpThe corpse of a L</process>, in the form of a file left in theL</working directory> of the process, usually as a result of certainkinds of fatal error.=item CPANThe Comprehensive Perl Archive Network. (See L<perlfaq2/What modules and extensions are available for Perl? What is CPAN? What does CPANE<sol>srcE<sol>... mean?>).=item crackerSomeone who breaks security on computer systems. A cracker may be atrue L</hacker> or only a L</script kiddie>.=item current packageThe L</package> in which the current statement is compiled. Scanbackwards in the text of your program through the current L<lexicalscope|/lexical scoping> or any enclosing lexical scopes till you finda package declaration. That's your current package name.=item current working directorySee L</working directory>.=item currently selected output channelThe last L</filehandle> that was designated withL<select|perlfunc/select>(C<FILEHANDLE>); L</STDOUT>, if no filehandlehas been selected.=item CVAn internal "code value" typedef, holding a L</subroutine>. The L</CV>type is a subclass of L</SV>.=back=head2 D=over 4=item dangling statementA bare, single L</statement>, without any braces, hanging off an C<if>or C<while> conditional. C allows them. Perl doesn't.=item data structureHow your various pieces of data relate to each other and what shapethey make when you put them all together, as in a rectangular table ora triangular-shaped tree.=item data typeA set of possible values, together with all the operations that knowhow to deal with those values. For example, a numeric data type has acertain set of numbers that you can work with and various mathematicaloperations that you can do on the numbers but would make little senseon, say, a string such as C<"Kilroy">. Strings have their ownoperations, such as L</concatenation>. Compound types made of anumber of smaller pieces generally have operations to compose anddecompose them, and perhaps to rearrange them. L<Objects|/object>that model things in the real world often have operations thatcorrespond to real activities. For instance, if you model anelevator, your elevator object might have an C<open_door()>L</method>.=item datagramA packet of data, such as a L</UDP> message, that (from the viewpointof the programs involved) can be sent independently over the network.(In fact, all packets are sent independently at the L</IP> level, butL</stream> protocols such as L</TCP> hide this from your program.)=item DBMStands for "Data Base Management" routines, a set of routines thatemulate an L</associative array> using disk files. The routines use adynamic hashing scheme to locate any entry with only two diskaccesses. DBM files allow a Perl program to keep a persistentL</hash> across multiple invocations. You can L<tie|perlfunc/tie>your hash variables to various DBM implementations--see L<AnyDBM_File>and L<DB_File>.=item declarationAn L</assertion> that states something exists and perhaps describeswhat it's like, without giving any commitment as to how or whereyou'll use it. A declaration is like the part of your recipe thatsays, "two cups flour, one large egg, four or five tadpoles..." SeeL</statement> for its opposite. Note that some declarations alsofunction as statements. Subroutine declarations also act asdefinitions if a body is supplied.=item decrement
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?