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

📄 pod::man.3

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 3
📖 第 1 页 / 共 2 页
字号:
don't have to use code escapes for them; complex expressions like\&\f(CW$fred{\*(Aqstuff\*(Aq}\fR will still need to be escaped, though.  It also translatesdashes that aren't used as hyphens into en dashes, makes long dashes\*(--likethis\*(--into proper em dashes, fixes \*(L"paired quotes,\*(R" makes \*(C+ look right,puts a little space between double underbars, makes \s-1ALLCAPS\s0 a teeny bitsmaller in \fBtroff\fR, and escapes stuff that *roff treats as special so thatyou don't have to..PPThe recognized options to \fInew()\fR are as follows.  All options take a singleargument..IP "center" 4.IX Item "center"Sets the centered page header to use instead of \*(L"User Contributed PerlDocumentation\*(R"..IP "date" 4.IX Item "date"Sets the left-hand footer.  By default, the modification date of the inputfile will be used, or the current date if \fIstat()\fR can't find that file (thecase if the input is from \s-1STDIN\s0), and the date will be formatted asYYYY-MM-DD..IP "fixed" 4.IX Item "fixed"The fixed-width font to use for vertabim text and code.  Defaults to \s-1CW\s0.Some systems may want \s-1CR\s0 instead.  Only matters for \fBtroff\fR output..IP "fixedbold" 4.IX Item "fixedbold"Bold version of the fixed-width font.  Defaults to \s-1CB\s0.  Only matters for\&\fBtroff\fR output..IP "fixeditalic" 4.IX Item "fixeditalic"Italic version of the fixed-width font (actually, something of a misnomer,since most fixed-width fonts only have an oblique version, not an italicversion).  Defaults to \s-1CI\s0.  Only matters for \fBtroff\fR output..IP "fixedbolditalic" 4.IX Item "fixedbolditalic"Bold italic (probably actually oblique) version of the fixed-width font.Pod::Man doesn't assume you have this, and defaults to \s-1CB\s0.  Some systems(such as Solaris) have this font available as \s-1CX\s0.  Only matters for \fBtroff\fRoutput..IP "name" 4.IX Item "name"Set the name of the manual page.  Without this option, the manual name isset to the uppercased base name of the file being converted unless themanual section is 3, in which case the path is parsed to see if it is a Perlmodule path.  If it is, a path like \f(CW\*(C`.../lib/Pod/Man.pm\*(C'\fR is converted intoa name like \f(CW\*(C`Pod::Man\*(C'\fR.  This option, if given, overrides any automaticdetermination of the name..IP "quotes" 4.IX Item "quotes"Sets the quote marks used to surround C<> text.  If the value is asingle character, it is used as both the left and right quote; if it is twocharacters, the first character is used as the left quote and the second asthe right quoted; and if it is four characters, the first two are used asthe left quote and the second two as the right quote..SpThis may also be set to the special value \f(CW\*(C`none\*(C'\fR, in which case no quotemarks are added around C<> text (but the font is still changed for troffoutput)..IP "release" 4.IX Item "release"Set the centered footer.  By default, this is the version of Perl you runPod::Man under.  Note that some system an macro sets assume that thecentered footer will be a modification date and will prepend something like\&\*(L"Last modified: \*(R"; if this is the case, you may want to set \f(CW\*(C`release\*(C'\fR tothe last modified date and \f(CW\*(C`date\*(C'\fR to the version number..IP "section" 4.IX Item "section"Set the section for the \f(CW\*(C`.TH\*(C'\fR macro.  The standard section numberingconvention is to use 1 for user commands, 2 for system calls, 3 forfunctions, 4 for devices, 5 for file formats, 6 for games, 7 formiscellaneous information, and 8 for administrator commands.  There is a lotof variation here, however; some systems (like Solaris) use 4 for fileformats, 5 for miscellaneous information, and 7 for devices.  Still othersuse 1m instead of 8, or some mix of both.  About the only section numbersthat are reliably consistent are 1, 2, and 3..SpBy default, section 1 will be used unless the file ends in .pm in which casesection 3 will be selected..PPThe standard Pod::Simple method \fIparse_file()\fR takes one argument naming the\&\s-1POD\s0 file to read from.  By default, the output is sent to \s-1STDOUT\s0, but thiscan be changed with the \fIoutput_fd()\fR method..PPThe standard Pod::Simple method \fIparse_from_file()\fR takes up to twoarguments, the first being the input file to read \s-1POD\s0 from and the secondbeing the file to write the formatted output to..PPYou can also call \fIparse_lines()\fR to parse an array of lines or\&\fIparse_string_document()\fR to parse a document already in memory.  To put theoutput into a string instead of a file handle, call the \fIoutput_string()\fRmethod.  See Pod::Simple for the specific details..SH "DIAGNOSTICS".IX Header "DIAGNOSTICS".ie n .IP "roff font should be 1 or 2 chars, not ""%s""" 4.el .IP "roff font should be 1 or 2 chars, not ``%s''" 4.IX Item "roff font should be 1 or 2 chars, not %s"(F) You specified a *roff font (using \f(CW\*(C`fixed\*(C'\fR, \f(CW\*(C`fixedbold\*(C'\fR, etc.) thatwasn't either one or two characters.  Pod::Man doesn't support *roff fontslonger than two characters, although some *roff extensions do (the canonicalversions of \fBnroff\fR and \fBtroff\fR don't either)..ie n .IP "Invalid quote specification ""%s""" 4.el .IP "Invalid quote specification ``%s''" 4.IX Item "Invalid quote specification %s"(F) The quote specification given (the quotes option to the constructor) wasinvalid.  A quote specification must be one, two, or four characters long..SH "BUGS".IX Header "BUGS"Eight-bit input data isn't handled at all well at present.  The correctapproach would be to map E<> escapes to the appropriate \s-1UTF\-8\s0characters and then do a translation pass on the output according to theuser-specified output character set.  Unfortunately, we can't send eight-bitdata directly to the output unless the user says this is okay, since somevendor *roff implementations can't handle eight-bit data.  If the *roffimplementation can, however, that's far superior to the current hackedcharacters that only work under troff..PPThere is currently no way to turn off the guesswork that tries to formatunmarked text appropriately, and sometimes it isn't wanted (particularlywhen using \s-1POD\s0 to document something other than Perl).  Most of the worktowards fixing this has now been done, however, and all that's still neededis a user interface..PPThe \s-1NAME\s0 section should be recognized specially and index entries emittedfor everything in that section.  This would have to be deferred until thenext section, since extraneous things in \s-1NAME\s0 tends to confuse various manpage processors.  Currently, no index entries are emitted for anything in\&\s-1NAME\s0..PPPod::Man doesn't handle font names longer than two characters.  Neither domost \fBtroff\fR implementations, but \s-1GNU\s0 troff does as an extension.  It wouldbe nice to support as an option for those who want to use it..PPThe preamble added to each output file is rather verbose, and most of itis only necessary in the presence of non-ASCII characters.  It wouldideally be nice if all of those definitions were only output if needed,perhaps on the fly as the characters are used..PPPod::Man is excessively slow..SH "CAVEATS".IX Header "CAVEATS"The handling of hyphens and em dashes is somewhat fragile, and one may getthe wrong one under some circumstances.  This should only matter for\&\fBtroff\fR output..PPWhen and whether to use small caps is somewhat tricky, and Pod::Man doesn'tnecessarily get it right..PPConverting neutral double quotes to properly matched double quotes doesn'twork unless there are no formatting codes between the quote marks.  Thisonly matters for troff output..SH "AUTHOR".IX Header "AUTHOR"Russ Allbery <rra@stanford.edu>, based \fIvery\fR heavily on the original\&\fBpod2man\fR by Tom Christiansen <tchrist@mox.perl.com>.  The modifications towork with Pod::Simple instead of Pod::Parser were originally contributed bySean Burke (but I've since hacked them beyond recognition and all bugs aremine)..SH "COPYRIGHT AND LICENSE".IX Header "COPYRIGHT AND LICENSE"Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007by Russ Allbery <rra@stanford.edu>..PPThis program is free software; you may redistribute it and/or modify itunder the same terms as Perl itself..SH "SEE ALSO".IX Header "SEE ALSO"Pod::Simple, \fIperlpod\fR\|(1), \fIpod2man\fR\|(1), \fInroff\fR\|(1), \fItroff\fR\|(1),\&\fIman\fR\|(1), \fIman\fR\|(7).PPOssanna, Joseph F., and Brian W. Kernighan.  \*(L"Troff User's Manual,\*(R"Computing Science Technical Report No. 54, \s-1AT&T\s0 Bell Laboratories.  This isthe best documentation of standard \fBnroff\fR and \fBtroff\fR.  At the time ofthis writing, it's available at<http://www.cs.bell\-labs.com/cm/cs/cstr.html>..PPThe man page documenting the man macro set may be \fIman\fR\|(5) instead of\&\fIman\fR\|(7) on your system.  Also, please see \fIpod2man\fR\|(1) for extensivedocumentation on writing manual pages if you've not done it before andaren't familiar with the conventions..PPThe current version of this module is always available from its web site at<http://www.eyrie.org/~eagle/software/podlators/>.  It is also part of thePerl core distribution as of 5.6.0.

⌨️ 快捷键说明

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