perlglossary.pod
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· POD 代码 · 共 1,930 行 · 第 1/5 页
POD
1,930 行
To subtract a value from a variable, as in "decrement C<$x>" (meaningto remove 1 from its value) or "decrement C<$x> by 3".=item defaultA L</value> chosen for you if you don't supply a value of your own.=item definedHaving a meaning. Perl thinks that some of the things people try todo are devoid of meaning, in particular, making use of variables thathave never been given a L</value> and performing certain operations ondata that isn't there. For example, if you try to read data past theend of a file, Perl will hand you back an undefined value. See alsoL</false> and L<perlfunc/defined>.=item delimiterA L</character> or L</string> that sets bounds to an arbitrarily-sizedtextual object, not to be confused with a L</separator> orL</terminator>. "To delimit" really just means "to surround" or "toenclose" (like these parentheses are doing).=item deprecated modules and featuresDeprecated modules and features are those which were part of a stablerelease, but later found to be subtly flawed, and which should be avoided.They are subject to removal and/or bug-incompatible reimplementation inthe next major release (but they will be preserved through maintenancereleases). Deprecation warnings are issued under B<-w> or C<usediagnostics>, and notices are found in L<perldelta>s, as well as variousother PODs. Coding practices that misuse features, such as C<my $foo if0>, can also be deprecated.=item dereferenceA fancy computer science term meaning "to follow a L</reference> towhat it points to". The "de" part of it refers to the fact thatyou're taking away one level of L</indirection>.=item derived classA L</class> that defines some of its L<methods|/method> in terms of amore generic class, called a L</base class>. Note that classes aren'tclassified exclusively into base classes or derived classes: a classcan function as both a derived class and a base class simultaneously,which is kind of classy.=item descriptorSee L</file descriptor>.=item destroyTo deallocate the memory of a L</referent> (first triggering itsC<DESTROY> method, if it has one).=item destructorA special L</method> that is called when an L</object> is thinkingabout L<destroying|/destroy> itself. A Perl program's C<DESTROY>method doesn't do the actual destruction; Perl justL<triggers|/trigger> the method in case the L</class> wants to do anyassociated cleanup.=item deviceA whiz-bang hardware gizmo (like a disk or tape drive or a modem or ajoystick or a mouse) attached to your computer, that the L</operatingsystem> tries to make look like a L</file> (or a bunch of files).Under Unix, these fake files tend to live in the I</dev> directory.=item directiveA L</pod> directive. See L<perlpod>.=item directoryA special file that contains other files. Some L<operatingsystems|/operating system> call these "folders", "drawers", or"catalogs".=item directory handleA name that represents a particular instance of opening a directory toread it, until you close it. See the L<opendir|perlfunc/opendir>function.=item dispatchTo send something to its correct destination. Often usedmetaphorically to indicate a transfer of programmatic control to adestination selected algorithmically, often by lookup in a table offunction L<references|/reference> or, in the case of objectL<methods|/method>, by traversing the inheritance tree looking for themost specific definition for the method.=item distributionA standard, bundled release of a system of software. The defaultusage implies source code is included. If that is not the case, itwill be called a "binary-only" distribution.=item (to be) dropped modulesWhen Perl 5 was first released (see L<perlhistory>), several modules wereincluded, which have now fallen out of common use. It has been suggestedthat these modules should be removed, since the distribution became ratherlarge, and the common criterion for new module additions is now limited tomodules that help to build, test, and extend perl itself. Furthermore,the CPAN (which didn't exist at the time of Perl 5.0) can become the newhome of dropped modules. Dropping modules is currently not an option, butfurther developments may clear the last barriers.=item dweomerAn enchantment, illusion, phantasm, or jugglery. Said when Perl'smagical L</dwimmer> effects don't do what you expect, but rather seemto be the product of arcane dweomercraft, sorcery, or wonder working.[From Old English]=item dwimmerDWIM is an acronym for "Do What I Mean", the principle that somethingshould just do what you want it to do without an undue amount of fuss.A bit of code that does "dwimming" is a "dwimmer". Dwimming canrequire a great deal of behind-the-scenes magic, which (if it doesn'tstay properly behind the scenes) is called a L</dweomer> instead.=item dynamic scopingDynamic scoping works over a dynamic scope, making variables visiblethroughout the rest of the L</block> in which they are first used andin any L<subroutines|/subroutine> that are called by the rest of theblock. Dynamically scoped variables can have their values temporarilychanged (and implicitly restored later) by a L<local|perlfunc/local>operator. (Compare L</lexical scoping>.) Used more loosely to meanhow a subroutine that is in the middle of calling another subroutine"contains" that subroutine at L</run time>.=back=head2 E=over 4=item eclecticDerived from many sources. Some would say I<too> many.=item elementA basic building block. When you're talking about an L</array>, it'sone of the items that make up the array.=item embeddingWhen something is contained in something else, particularly when thatmight be considered surprising: "I've embedded a complete Perlinterpreter in my editor!"=item empty subclass testThe notion that an empty L</derived class> should behave exactly likeits L</base class>.=item en passantWhen you change a L</value> as it is being copied. [From French, "inpassing", as in the exotic pawn-capturing maneuver in chess.]=item encapsulationThe veil of abstraction separating the L</interface> from theL</implementation> (whether enforced or not), which mandates that allaccess to an L</object>'s state be through L<methods|/method> alone.=item endianSee L</little-endian> and L</big-endian>.=item environmentThe collective set of L<environment variables|/environment variable>your L</process> inherits from its parent. Accessed via C<%ENV>.=item environment variableA mechanism by which some high-level agent such as a user can pass itspreferences down to its future offspring (child L<processes|/process>,grandchild processes, great-grandchild processes, and so on). Eachenvironment variable is a L</key>/L</value> pair, like one entry in aL</hash>.=item EOFEnd of File. Sometimes used metaphorically as the terminating stringof a L</here document>.=item errnoThe error number returned by a L</syscall> when it fails. Perl refersto the error by the name C<$!> (or C<$OS_ERROR> if you use the Englishmodule).=item errorSee L</exception> or L</fatal error>.=item escape sequenceSee L</metasymbol>.=item exceptionA fancy term for an error. See L</fatal error>.=item exception handlingThe way a program responds to an error. The exception handlingmechanism in Perl is the L<eval|perlfunc/eval> operator.=item execTo throw away the current L</process>'s program and replace it withanother without exiting the process or relinquishing any resourcesheld (apart from the old memory image).=item executable fileA L</file> that is specially marked to tell the L</operating system>that it's okay to run this file as a program. Usually shortened to"executable".=item executeTo run a L<program|/executable file> or L</subroutine>. (Has nothingto do with the L<kill|perlfunc/kill> built-in, unless you're trying torun a L</signal handler>.)=item execute bitThe special mark that tells the operating system it can run thisprogram. There are actually three execute bits under Unix, and whichbit gets used depends on whether you own the file singularly,collectively, or not at all.=item exit statusSee L</status>.=item exportTo make symbols from a L</module> available for L</import> by other modules.=item expressionAnything you can legally say in a spot where a L</value> is required.Typically composed of L<literals|/literal>, L<variables|/variable>,L<operators|/operator>, L<functions|/function>, and L</subroutine>calls, not necessarily in that order.=item extensionA Perl module that also pulls in compiled C or C++ code. Moregenerally, any experimental option that can be compiled into Perl,such as multithreading.=back=head2 F=over 4=item falseIn Perl, any value that would look like C<""> or C<"0"> if evaluatedin a string context. Since undefined values evaluate to C<"">, allundefined values are false, but not all false values are undefined.=item FAQFrequently Asked Question (although not necessarily frequentlyanswered, especially if the answer appears in the Perl FAQ shippedstandard with Perl).=item fatal errorAn uncaught L</exception>, which causes termination of the L</process>after printing a message on your L</standard error> stream. Errorsthat happen inside an L<eval|perlfunc/eval> are not fatal. Instead,the L<eval|perlfunc/eval> terminates after placing the exceptionmessage in the C<$@> (C<$EVAL_ERROR>) variable. You can try toprovoke a fatal error with the L<die|perlfunc/die> operator (known asthrowing or raising an exception), but this may be caught by adynamically enclosing L<eval|perlfunc/eval>. If not caught, theL<die|perlfunc/die> becomes a fatal error.=item fieldA single piece of numeric or string data that is part of a longerL</string>, L</record>, or L</line>. Variable-width fields are usuallysplit up by L<separators|/separator> (so use L<split|perlfunc/split> toextract the fields), while fixed-width fields are usually at fixedpositions (so use L<unpack|perlfunc/unpack>). L<Instancevariables|/instance variable> are also known as fields.=item FIFOFirst In, First Out. See also L</LIFO>. Also, a nickname for aL</named pipe>.=item fileA named collection of data, usually stored on disk in a L</directory>in a L</filesystem>. Roughly like a document, if you're into officemetaphors. In modern filesystems, you can actually give a file morethan one name. Some files have special properties, like directoriesand devices.=item file descriptorThe little number the L</operating system> uses to keep track of whichopened L</file> you're talking about. Perl hides the file descriptorinside a L</standard IE<sol>O> stream and then attaches the stream toa L</filehandle>.=item file test operatorA built-in unary operator that you use to determine whether somethingis L</true> about a file, such as C<-o $filename> to test whetheryou're the owner of the file.=item fileglobA "wildcard" match on L<filenames|/filename>. See theL<glob|perlfunc/glob> function.=item filehandleAn identifier (not necessarily related to the real name of a file)that represents a particular instance of opening a file until youclose it. If you're going to open and close several different filesin succession, it's fine to open each of them with the samefilehandle, so you don't have to write out separate code to processeach file.=item filenameOne name for a file. This name is listed in a L</directory>, and youcan use it in an L<open|perlfunc/open> to tell the L</operatingsystem> exactly which file you want to open, and associate the filewith a L</filehandle> which will carry the subsequent identity of thatfile in your program, until you close it.=item filesystemA set of L<directories|/directory> and L<files|/file> residing on apartition of the disk. Sometimes known as a "partition". You canchange the file's name or even move a file around from directory todirectory within a filesystem without actually moving the file itself,at least under Unix.=item filterA program designed to take a L</stream> of input and transform it intoa stream of output.=item flagWe tend to avoid this term because it means so many things. It maymean a command-line L</switch> that takes no argumentitself (such as Perl's B<-n> and B<-p>flags) or, less frequently, a single-bit indicator (such as theC<O_CREAT> and C<O_EXCL> flags used inL<sysopen|perlfunc/sysopen>).=item floating pointA method of storing numbers in "scientific notation", such that theprecision of the number is independent of its magnitude (the decimalpoint "floats"). Perl does its numeric work with floating-pointnumbers (sometimes called "floats"), when it can't get away withusing L<integers|/integer>. Floating-point numbers are mereapproximations of real numbers.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?