⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pod::escapes.3

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 3
字号:
.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05).\".\" Standard preamble:.\" ========================================================================.de Sh \" Subsection heading.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Vb \" Begin verbatim text.ft CW.nf.ne \\$1...de Ve \" End verbatim text.ft R.fi...\" Set up some character translations and predefined strings.  \*(-- will.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left.\" double quote, and \*(R" will give a right double quote.  \*(C+ will.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,.\" nothing in troff, for use with C<>..tr \(*W-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'.ie n \{\.    ds -- \(*W-.    ds PI pi.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch.    ds L" "".    ds R" "".    ds C` "".    ds C' ""'br\}.el\{\.    ds -- \|\(em\|.    ds PI \(*p.    ds L" ``.    ds R" '''br\}.\".\" Escape single quotes in literal strings from groff's Unicode transform..ie \n(.g .ds Aq \(aq.el       .ds Aq '.\".\" If the F register is turned on, we'll generate index entries on stderr for.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index.\" entries marked with X<> in POD.  Of course, you'll have to process the.\" output yourself in some meaningful fashion..ie \nF \{\.    de IX.    tm Index:\\$1\t\\n%\t"\\$2"...    nr % 0.    rr F.\}.el \{\.    de IX...\}.\".\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2)..\" Fear.  Run.  Save yourself.  No user-serviceable parts..    \" fudge factors for nroff and troff.if n \{\.    ds #H 0.    ds #V .8m.    ds #F .3m.    ds #[ \f1.    ds #] \fP.\}.if t \{\.    ds #H ((1u-(\\\\n(.fu%2u))*.13m).    ds #V .6m.    ds #F 0.    ds #[ \&.    ds #] \&.\}.    \" simple accents for nroff and troff.if n \{\.    ds ' \&.    ds ` \&.    ds ^ \&.    ds , \&.    ds ~ ~.    ds /.\}.if t \{\.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u".    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'.\}.    \" troff and (daisy-wheel) nroff accents.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'.ds 8 \h'\*(#H'\(*b\h'-\*(#H'.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#].ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#].ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#].ds ae a\h'-(\w'a'u*4/10)'e.ds Ae A\h'-(\w'A'u*4/10)'E.    \" corrections for vroff.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'.    \" for low resolution devices (crt and lpr).if \n(.H>23 .if \n(.V>19 \\{\.    ds : e.    ds 8 ss.    ds o a.    ds d- d\h'-1'\(ga.    ds D- D\h'-1'\(hy.    ds th \o'bp'.    ds Th \o'LP'.    ds ae ae.    ds Ae AE.\}.rm #[ #] #H #V #F C.\" ========================================================================.\".IX Title "Pod::Escapes 3".TH Pod::Escapes 3 "2007-12-18" "perl v5.10.0" "Perl Programmers Reference Guide".\" For nroff, turn off justification.  Always turn off hyphenation; it makes.\" way too many mistakes in technical documents..if n .ad l.nh.SH "NAME"Pod::Escapes \-\- for resolving Pod E<...> sequences.SH "SYNOPSIS".IX Header "SYNOPSIS".Vb 7\&  use Pod::Escapes qw(e2char);\&  ...la la la, parsing POD, la la la...\&  $text = e2char($e_node\->label);\&  unless(defined $text) {\&    print "Unknown E sequence \e"", $e_node\->label, "\e"!";\&  }\&  ...else print/interpolate $text....Ve.SH "DESCRIPTION".IX Header "DESCRIPTION"This module provides things that are useful in decodingPod E<...> sequences.  Presumably, it should be usedonly by Pod parsers and/or formatters..PPBy default, Pod::Escapes exports none of its symbols.  Butyou can request any of them to be exported.Either request them individually, as with\&\f(CW\*(C`use Pod::Escapes qw(symbolname symbolname2...);\*(C'\fR,or you can do \f(CW\*(C`use Pod::Escapes qw(:ALL);\*(C'\fR to get allexportable symbols..SH "GOODIES".IX Header "GOODIES".IP "e2char($e_content)" 4.IX Item "e2char($e_content)"Given a name or number that could appear in a\&\f(CW\*(C`E<name_or_num>\*(C'\fR sequence, this returns the string thatit stands for.  For example, \f(CW\*(C`e2char(\*(Aqsol\*(Aq)\*(C'\fR, \f(CW\*(C`e2char(\*(Aq47\*(Aq)\*(C'\fR,\&\f(CW\*(C`e2char(\*(Aq0x2F\*(Aq)\*(C'\fR, and \f(CW\*(C`e2char(\*(Aq057\*(Aq)\*(C'\fR all return \*(L"/\*(R",because \f(CW\*(C`E<sol>\*(C'\fR, \f(CW\*(C`E<47>\*(C'\fR, \f(CW\*(C`E<0x2f>\*(C'\fR,and \f(CW\*(C`E<057>\*(C'\fR, all mean \*(L"/\*(R".  Ifthe name has no known value (as with a name of \*(L"qacute\*(R") or issyntactally invalid (as with a name of \*(L"1/4\*(R"), this returns undef..IP "e2charnum($e_content)" 4.IX Item "e2charnum($e_content)"Given a name or number that could appear in a\&\f(CW\*(C`E<name_or_num>\*(C'\fR sequence, this returns the number ofthe Unicode character that this stands for.  For example,\&\f(CW\*(C`e2char(\*(Aqsol\*(Aq)\*(C'\fR, \f(CW\*(C`e2char(\*(Aq47\*(Aq)\*(C'\fR,\&\f(CW\*(C`e2char(\*(Aq0x2F\*(Aq)\*(C'\fR, and \f(CW\*(C`e2char(\*(Aq057\*(Aq)\*(C'\fR all return 47,because \f(CW\*(C`E<sol>\*(C'\fR, \f(CW\*(C`E<47>\*(C'\fR, \f(CW\*(C`E<0x2f>\*(C'\fR,and \f(CW\*(C`E<057>\*(C'\fR, all mean \*(L"/\*(R", whose Unicode number is 47.  Ifthe name has no known value (as with a name of \*(L"qacute\*(R") or issyntactally invalid (as with a name of \*(L"1/4\*(R"), this returns undef..ie n .IP "$Name2character\fR{\fIname}" 4.el .IP "\f(CW$Name2character\fR{\fIname\fR}" 4.IX Item "$Name2character{name}"Maps from names (as in \f(CW\*(C`E<\f(CIname\f(CW>\*(C'\fR) like \*(L"eacute\*(R" or \*(L"sol\*(R"to the string that each stands for.  Note that this does notinclude numerics (like \*(L"64\*(R" or \*(L"x981c\*(R").  Under old Perl versions(before 5.7) you get a \*(L"?\*(R" in place of characters whose Unicodevalue is over 255..ie n .IP "$Name2character_number\fR{\fIname}" 4.el .IP "\f(CW$Name2character_number\fR{\fIname\fR}" 4.IX Item "$Name2character_number{name}"Maps from names (as in \f(CW\*(C`E<\f(CIname\f(CW>\*(C'\fR) like \*(L"eacute\*(R" or \*(L"sol\*(R"to the Unicode value that each stands for.  For example,\&\f(CW$Name2character_number{\*(Aqeacute\*(Aq}\fR is 201, and\&\f(CW$Name2character_number{\*(Aqeacute\*(Aq}\fR is 8364.  You get the correctUnicode value, regardless of the version of Perl you're using \*(--which differs from \f(CW%Name2character\fR's behavior under pre\-5.7 Perls..SpNote that this hash does notinclude numerics (like \*(L"64\*(R" or \*(L"x981c\*(R")..ie n .IP "$Latin1Code_to_fallback\fR{\fIinteger}" 4.el .IP "\f(CW$Latin1Code_to_fallback\fR{\fIinteger\fR}" 4.IX Item "$Latin1Code_to_fallback{integer}"For numbers in the range 160 (0x00A0) to 255 (0x00FF), this mapsfrom the character code for a Latin\-1 character (like 233 forlowercase e\-acute) to the US-ASCII character that best aproximatesit (like \*(L"e\*(R").  You may find this useful if you are rendering\&\s-1POD\s0 in a format that you think deals well only with US-ASCIIcharacters..ie n .IP "$Latin1Char_to_fallback\fR{\fIcharacter}" 4.el .IP "\f(CW$Latin1Char_to_fallback\fR{\fIcharacter\fR}" 4.IX Item "$Latin1Char_to_fallback{character}"Just as above, but maps from characters (like \*(L"\exE9\*(R", lowercase e\-acute) to characters (like \*(L"e\*(R")..ie n .IP "$Code2USASCII\fR{\fIinteger}" 4.el .IP "\f(CW$Code2USASCII\fR{\fIinteger\fR}" 4.IX Item "$Code2USASCII{integer}"This maps from US-ASCII codes (like 32) to the correspondingcharacter (like space, for 32).  Only characters 32 to 126 aredefined.  This is meant for use by \f(CW\*(C`e2char($x)\*(C'\fR when it sensesthat it's running on a non-ASCII platform (where chr(32) doesn'tget you a space \*(-- but \f(CW$Code2USASCII\fR{32} will).  It'sdocumented here just in case you might find it useful..SH "CAVEATS".IX Header "CAVEATS"On Perl versions before 5.7, Unicode characters with a valueover 255 (like lambda or emdash) can't be conveyed.  Thismodule does work under such early Perl versions, but in theplace of each such character, you get a \*(L"?\*(R".  Latin\-1characters (characters 160\-255) are unaffected..PPUnder \s-1EBCDIC\s0 platforms, \f(CW\*(C`e2char($n)\*(C'\fR may not always be thesame as \f(CW\*(C`chr(e2charnum($n))\*(C'\fR, and ditto for\&\f(CW$Name2character{$name}\fR and\&\f(CW\*(C`chr($Name2character_number{$name})\*(C'\fR..SH "SEE ALSO".IX Header "SEE ALSO"perlpod.PPperlpodspec.PPText::Unidecode.SH "COPYRIGHT AND DISCLAIMERS".IX Header "COPYRIGHT AND DISCLAIMERS"Copyright (c) 2001\-2004 Sean M. Burke.  All rights reserved..PPThis library is free software; you can redistribute it and/or modifyit under the same terms as Perl itself..PPThis program is distributed in the hope that it will be useful, butwithout any warranty; without even the implied warranty ofmerchantability or fitness for a particular purpose..PPPortions of the data tables in this module are derived from theentity declarations in the W3C \s-1XHTML\s0 specification..PPCurrently (October 2001), that's these three:.PP.Vb 3\& http://www.w3.org/TR/xhtml1/DTD/xhtml\-lat1.ent\& http://www.w3.org/TR/xhtml1/DTD/xhtml\-special.ent\& http://www.w3.org/TR/xhtml1/DTD/xhtml\-symbol.ent.Ve.SH "AUTHOR".IX Header "AUTHOR"Sean M. Burke \f(CW\*(C`sburke@cpan.org\*(C'\fR

⌨️ 快捷键说明

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