pod2usage.html
来自「perl教程」· HTML 代码 · 共 143 行
HTML
143 行
<?xml version="1.0" ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- saved from url=(0017)http://localhost/ -->
<script language="JavaScript" src="../displayToc.js"></script>
<script language="JavaScript" src="../tocParas.js"></script>
<script language="JavaScript" src="../tocTab.js"></script>
<link rel="stylesheet" type="text/css" href="../scineplex.css">
<title>pod2usage - print usage messages from embedded pod docs in files</title>
<link rel="stylesheet" href="../Active.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:" />
</head>
<body>
<script>writelinks('__top__',1);</script>
<h1><a>pod2usage - print usage messages from embedded pod docs in files</a></h1>
<p><a name="__index__"></a></p>
<!-- INDEX BEGIN -->
<ul>
<li><a href="#name">NAME</a></li>
<li><a href="#synopsis">SYNOPSIS</a></li>
<li><a href="#options_and_arguments">OPTIONS AND ARGUMENTS</a></li>
<li><a href="#description">DESCRIPTION</a></li>
<li><a href="#see_also">SEE ALSO</a></li>
<li><a href="#author">AUTHOR</a></li>
</ul>
<!-- INDEX END -->
<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>pod2usage - print usage messages from embedded pod docs in files</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<dl>
<dt><strong><a name="item_pod2usage"><strong>pod2usage</strong></a></strong>
<dd>
<p>[<strong>-help</strong>]
[<strong>-man</strong>]
[<strong>-exit</strong> <em>exitval</em>]
[<strong>-output</strong> <em>outfile</em>]
[<strong>-verbose</strong> <em>level</em>]
[<strong>-pathlist</strong> <em>dirlist</em>]
<em>file</em></p>
</dd>
</li>
</dl>
<p>
</p>
<hr />
<h1><a name="options_and_arguments">OPTIONS AND ARGUMENTS</a></h1>
<dl>
<dt><strong><a name="item__2dhelp"><strong>-help</strong></a></strong>
<dd>
<p>Print a brief help message and exit.</p>
</dd>
</li>
<dt><strong><a name="item__2dman"><strong>-man</strong></a></strong>
<dd>
<p>Print this command's manual page and exit.</p>
</dd>
</li>
<dt><strong><a name="item__2dexit_exitval"><strong>-exit</strong> <em>exitval</em></a></strong>
<dd>
<p>The exit status value to return.</p>
</dd>
</li>
<dt><strong><a name="item__2doutput_outfile"><strong>-output</strong> <em>outfile</em></a></strong>
<dd>
<p>The output file to print to. If the special names "-" or ">&1" or ">&STDOUT"
are used then standard output is used. If ">&2" or ">&STDERR" is used then
standard error is used.</p>
</dd>
</li>
<dt><strong><a name="item__2dverbose_level"><strong>-verbose</strong> <em>level</em></a></strong>
<dd>
<p>The desired level of verbosity to use:</p>
</dd>
<dd>
<pre>
1 : print SYNOPSIS only
2 : print SYNOPSIS sections and any OPTIONS/ARGUMENTS sections
3 : print the entire manpage (similar to running pod2text)</pre>
</dd>
</li>
<dt><strong><a name="item__2dpathlist_dirlist"><strong>-pathlist</strong> <em>dirlist</em></a></strong>
<dd>
<p>Specifies one or more directories to search for the input file if it
was not supplied with an absolute path. Each directory path in the given
list should be separated by a ':' on Unix (';' on MSWin32 and DOS).</p>
</dd>
</li>
<dt><strong><a name="item_file"><em>file</em></a></strong>
<dd>
<p>The pathname of a file containing pod documentation to be output in
usage mesage format (defaults to standard input).</p>
</dd>
</li>
</dl>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p><strong>pod2usage</strong> will read the given input file looking for pod
documentation and will print the corresponding usage message.
If no input file is specifed than standard input is read.</p>
<p><strong>pod2usage</strong> invokes the <strong>pod2usage()</strong> function in the <strong>Pod::Usage</strong>
module. Please see <a href="../lib/Pod/Usage.html#pod2usage__">pod2usage() in the Pod::Usage manpage</a>.</p>
<p>
</p>
<hr />
<h1><a name="see_also">SEE ALSO</a></h1>
<p><a href="../lib/Pod/Usage.html">the Pod::Usage manpage</a>, <em>pod2text(1)</em></p>
<p>
</p>
<hr />
<h1><a name="author">AUTHOR</a></h1>
<p>Please report bugs using <a href="http://rt.cpan.org">http://rt.cpan.org</a>.</p>
<p>Brad Appleton <<a href="mailto:bradapp@enteract.com">bradapp@enteract.com</a>></p>
<p>Based on code for <strong>pod2text(1)</strong> written by
Tom Christiansen <<a href="mailto:tchrist@mox.perl.com">tchrist@mox.perl.com</a>></p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?