perl.html

来自「perl教程」· HTML 代码 · 共 473 行 · 第 1/2 页

HTML
473
字号
<?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>perl - Practical Extraction and Report Language</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__',2);</script>
<h1><a>perl - Practical Extraction and Report Language</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>
	<ul>

		<li><a href="#overview">Overview</a></li>
		<li><a href="#tutorials">Tutorials</a></li>
		<li><a href="#reference_manual">Reference Manual</a></li>
		<li><a href="#internals_and_c_language_interface">Internals and C Language Interface</a></li>
		<li><a href="#miscellaneous">Miscellaneous</a></li>
		<li><a href="#languagespecific">Language-Specific</a></li>
		<li><a href="#platformspecific">Platform-Specific</a></li>
	</ul>

	<li><a href="#description">DESCRIPTION</a></li>
	<li><a href="#availability">AVAILABILITY</a></li>
	<li><a href="#environment">ENVIRONMENT</a></li>
	<li><a href="#author">AUTHOR</a></li>
	<li><a href="#files">FILES</a></li>
	<li><a href="#see_also">SEE ALSO</a></li>
	<li><a href="#diagnostics">DIAGNOSTICS</a></li>
	<li><a href="#bugs">BUGS</a></li>
	<li><a href="#notes">NOTES</a></li>
</ul>
<!-- INDEX END -->

<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>perl - Practical Extraction and Report Language</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<p><table cellspacing="0" cellpadding="0"><tr><td><strong>perl</strong><td>[&nbsp;<strong>-sTtuUWX</strong>&nbsp;]
<tr><td><td>[&nbsp;<strong>-hv</strong>&nbsp;]&nbsp;[&nbsp;<strong>-V</strong>[:<em>configvar</em>]&nbsp;]
<tr><td><td>[&nbsp;<strong>-cw</strong>&nbsp;]&nbsp;[&nbsp;<strong>-d</strong>[<strong>t</strong>][:<em>debugger</em>]&nbsp;]&nbsp;[&nbsp;<strong>-D</strong>[<em>number/list</em>]&nbsp;]
<tr><td><td>[&nbsp;<strong>-pna</strong>&nbsp;]&nbsp;[&nbsp;<strong>-F</strong><em>pattern</em>&nbsp;]&nbsp;[&nbsp;<strong>-l</strong>[<em>octal</em>]&nbsp;]&nbsp;[&nbsp;<strong>-0</strong>[<em>octal/hexadecimal</em>]&nbsp;]
<tr><td><td>[&nbsp;<strong>-I</strong><em>dir</em>&nbsp;]&nbsp;[&nbsp;<strong>-m</strong>[<strong>-</strong>]<em>module</em>&nbsp;]&nbsp;[&nbsp;<strong>-M</strong>[<strong>-</strong>]<em>'module...'</em>&nbsp;]&nbsp;[&nbsp;<strong>-f</strong>&nbsp;]
<tr><td><td>[&nbsp;<strong>-C&nbsp;[<em>number/list</em>]&nbsp;</strong>]
<tr><td><td>[&nbsp;<strong>-P</strong>&nbsp;]
<tr><td><td>[&nbsp;<strong>-S</strong>&nbsp;]
<tr><td><td>[&nbsp;<strong>-x</strong>[<em>dir</em>]&nbsp;]
<tr><td><td>[&nbsp;<strong>-i</strong>[<em>extension</em>]&nbsp;]
<tr><td><td>[&nbsp;<strong>-e</strong>&nbsp;<em>'command'</em>&nbsp;]&nbsp;[&nbsp;<strong>--</strong>&nbsp;]&nbsp;[&nbsp;<em>programfile</em>&nbsp;]&nbsp;[&nbsp;<em>argument</em>&nbsp;]...</table></p>
<p>If you're new to Perl, you should start with <a href="../../lib/Pod/perlintro.html">the perlintro manpage</a>, which is a 
general intro for beginners and provides some background to help you
navigate the rest of Perl's extensive documentation.</p>
<p>For ease of access, the Perl manual has been split up into several sections.</p>
<p>
</p>
<h2><a name="overview">Overview</a></h2>
<pre>
    perl                Perl overview (this section)
    <a href="../../lib/Pod/perlintro.html">perlintro</a>           Perl introduction for beginners
    <a href="../../lib/Pod/perltoc.html">perltoc</a>             Perl documentation table of contents</pre>
<pre>
    ActivePerl          ActivePerl overview</pre>
<p>
</p>
<h2><a name="tutorials">Tutorials</a></h2>
<pre>
    <a href="../../lib/Pod/perlreftut.html">perlreftut</a>          Perl references short introduction
    <a href="../../lib/Pod/perldsc.html">perldsc</a>             Perl data structures intro
    <a href="../../lib/Pod/perllol.html">perllol</a>             Perl data structures: arrays of arrays</pre>
<pre>
    <a href="../../lib/Pod/perlrequick.html">perlrequick</a>         Perl regular expressions quick start
    <a href="../../lib/Pod/perlretut.html">perlretut</a>           Perl regular expressions tutorial</pre>
<pre>
    <a href="../../lib/Pod/perlboot.html">perlboot</a>            Perl OO tutorial for beginners
    <a href="../../lib/Pod/perltoot.html">perltoot</a>            Perl OO tutorial, part 1
    <a href="../../lib/Pod/perltooc.html">perltooc</a>            Perl OO tutorial, part 2
    <a href="../../lib/Pod/perlbot.html">perlbot</a>             Perl OO tricks and examples</pre>
<pre>
    <a href="../../lib/Pod/perlstyle.html">perlstyle</a>           Perl style guide</pre>
<pre>
    <a href="../../lib/Pod/perlcheat.html">perlcheat</a>           Perl cheat sheet
    <a href="../../lib/Pod/perltrap.html">perltrap</a>            Perl traps for the unwary
    <a href="../../lib/Pod/perldebtut.html">perldebtut</a>          Perl debugging tutorial</pre>
<pre>
    <a href="../../lib/Pod/perlfaq.html">perlfaq</a>             Perl frequently asked questions
      <a href="../../lib/Pod/perlfaq1.html">perlfaq1</a>          General Questions About Perl
      <a href="../../lib/Pod/perlfaq2.html">perlfaq2</a>          Obtaining and Learning about Perl
      <a href="../../lib/Pod/perlfaq3.html">perlfaq3</a>          Programming Tools
      <a href="../../lib/Pod/perlfaq4.html">perlfaq4</a>          Data Manipulation
      <a href="../../lib/Pod/perlfaq5.html">perlfaq5</a>          Files and Formats
      <a href="../../lib/Pod/perlfaq6.html">perlfaq6</a>          Regexes
      <a href="../../lib/Pod/perlfaq7.html">perlfaq7</a>          Perl Language Issues
      <a href="../../lib/Pod/perlfaq8.html">perlfaq8</a>          System Interaction
      <a href="../../lib/Pod/perlfaq9.html">perlfaq9</a>          Networking</pre>
<p>
</p>
<h2><a name="reference_manual">Reference Manual</a></h2>
<pre>
    <a href="../../lib/Pod/perlsyn.html">perlsyn</a>             Perl syntax
    <a href="../../lib/Pod/perldata.html">perldata</a>            Perl data structures
    <a href="../../lib/Pod/perlop.html">perlop</a>              Perl operators and precedence
    <a href="../../lib/Pod/perlsub.html">perlsub</a>             Perl subroutines
    <a href="../../lib/Pod/perlfunc.html">perlfunc</a>            Perl built-in functions
      <a href="../../lib/Pod/perlopentut.html">perlopentut</a>       Perl open() tutorial
      <a href="../../lib/Pod/perlpacktut.html">perlpacktut</a>       Perl pack() and unpack() tutorial
    <a href="../../lib/Pod/perlpod.html">perlpod</a>             Perl plain old documentation
    <a href="../../lib/Pod/perlpodspec.html">perlpodspec</a>         Perl plain old documentation format specification
    <a href="../../lib/Pod/perlrun.html">perlrun</a>             Perl execution and options
    <a href="../../lib/Pod/perldiag.html">perldiag</a>            Perl diagnostic messages
    <a href="../../lib/Pod/perllexwarn.html">perllexwarn</a>         Perl warnings and their control
    <a href="../../lib/Pod/perldebug.html">perldebug</a>           Perl debugging
    <a href="../../lib/Pod/perlvar.html">perlvar</a>             Perl predefined variables
    <a href="../../lib/Pod/perlre.html">perlre</a>              Perl regular expressions, the rest of the story
    <a href="../../lib/Pod/perlreref.html">perlreref</a>           Perl regular expressions quick reference
    <a href="../../lib/Pod/perlref.html">perlref</a>             Perl references, the rest of the story
    <a href="../../lib/Pod/perlform.html">perlform</a>            Perl formats
    <a href="../../lib/Pod/perlobj.html">perlobj</a>             Perl objects
    <a href="../../lib/Pod/perltie.html">perltie</a>             Perl objects hidden behind simple variables
      <a href="../../lib/Pod/perldbmfilter.html">perldbmfilter</a>     Perl DBM filters</pre>
<pre>
    <a href="../../lib/Pod/perlipc.html">perlipc</a>             Perl interprocess communication
    <a href="../../lib/Pod/perlfork.html">perlfork</a>            Perl fork() information
    <a href="../../lib/Pod/perlnumber.html">perlnumber</a>          Perl number semantics</pre>
<pre>
    <a href="../../lib/Pod/perlthrtut.html">perlthrtut</a>          Perl threads tutorial
      <a href="../../lib/Pod/perlothrtut.html">perlothrtut</a>       Old Perl threads tutorial</pre>
<pre>
    <a href="../../lib/Pod/perlport.html">perlport</a>            Perl portability guide
    <a href="../../lib/Pod/perllocale.html">perllocale</a>          Perl locale support
    <a href="../../lib/Pod/perluniintro.html">perluniintro</a>        Perl Unicode introduction
    <a href="../../lib/Pod/perlunicode.html">perlunicode</a>         Perl Unicode support
    <a href="../../lib/Pod/perlebcdic.html">perlebcdic</a>          Considerations for running Perl on EBCDIC platforms</pre>
<pre>
    <a href="../../lib/Pod/perlsec.html">perlsec</a>             Perl security</pre>
<pre>
    <a href="../../lib/Pod/perlmod.html">perlmod</a>             Perl modules: how they work
    <a href="../../lib/Pod/perlmodlib.html">perlmodlib</a>          Perl modules: how to write and use
    <a href="../../lib/Pod/perlmodstyle.html">perlmodstyle</a>        Perl modules: how to write modules with style
    <a href="../../lib/Pod/perlmodinstall.html">perlmodinstall</a>      Perl modules: how to install from CPAN
    <a href="../../lib/Pod/perlnewmod.html">perlnewmod</a>          Perl modules: preparing a new module for distribution</pre>
<pre>
    <a href="../../lib/Pod/perlutil.html">perlutil</a>            utilities packaged with the Perl distribution</pre>
<pre>
    <a href="../../lib/Pod/perlcompile.html">perlcompile</a>         Perl compiler suite intro</pre>
<pre>
    <a href="../../lib/Pod/perlfilter.html">perlfilter</a>          Perl source filters</pre>
<pre>
    <a href="../../lib/Pod/perlglossary.html">perlglossary</a>        Perl Glossary</pre>
<p>
</p>
<h2><a name="internals_and_c_language_interface">Internals and C Language Interface</a></h2>
<pre>
    <a href="../../lib/Pod/perlembed.html">perlembed</a>           Perl ways to embed perl in your C or C++ application
    <a href="../../lib/Pod/perldebguts.html">perldebguts</a>         Perl debugging guts and tips
    <a href="../../lib/Pod/perlxstut.html">perlxstut</a>           Perl XS tutorial
    <a href="../../lib/Pod/perlxs.html">perlxs</a>              Perl XS application programming interface
    <a href="../../lib/Pod/perlclib.html">perlclib</a>            Internal replacements for standard C library functions
    <a href="../../lib/Pod/perlguts.html">perlguts</a>            Perl internal functions for those doing extensions
    <a href="../../lib/Pod/perlcall.html">perlcall</a>            Perl calling conventions from C</pre>
<pre>
    <a href="../../lib/Pod/perlapi.html">perlapi</a>             Perl API listing (autogenerated)
    <a href="../../lib/Pod/perlintern.html">perlintern</a>          Perl internal functions (autogenerated)
    <a href="../../lib/Pod/perliol.html">perliol</a>             C API for Perl's implementation of IO in Layers
    <a href="../../lib/Pod/perlapio.html">perlapio</a>            Perl internal IO abstraction interface</pre>
<pre>
    <a href="../../lib/Pod/perlhack.html">perlhack</a>            Perl hackers guide</pre>
<p>
</p>
<h2><a name="miscellaneous">Miscellaneous</a></h2>
<pre>
    <a href="../../lib/Pod/perlbook.html">perlbook</a>            Perl book information
    <a href="../../lib/Pod/perltodo.html">perltodo</a>            Perl things to do</pre>
<pre>
    <a href="../../lib/Pod/perldoc.html">perldoc</a>             Look up Perl documentation in Pod format</pre>
<pre>
    <a href="../../lib/Pod/perlhist.html">perlhist</a>            Perl history records
    <a href="../../lib/Pod/perldelta.html">perldelta</a>           Perl changes since previous version
    <a href="../../lib/Pod/perl587delta.html">perl587delta</a>        Perl changes in version 5.8.7
    <a href="../../lib/Pod/perl586delta.html">perl586delta</a>        Perl changes in version 5.8.6
    <a href="../../lib/Pod/perl585delta.html">perl585delta</a>        Perl changes in version 5.8.5
    <a href="../../lib/Pod/perl584delta.html">perl584delta</a>        Perl changes in version 5.8.4
    <a href="../../lib/Pod/perl583delta.html">perl583delta</a>        Perl changes in version 5.8.3
    <a href="../../lib/Pod/perl582delta.html">perl582delta</a>        Perl changes in version 5.8.2
    <a href="../../lib/Pod/perl581delta.html">perl581delta</a>        Perl changes in version 5.8.1
    <a href="../../lib/Pod/perl58delta.html">perl58delta</a>         Perl changes in version 5.8.0
    <a href="../../lib/Pod/perl573delta.html">perl573delta</a>        Perl changes in version 5.7.3
    <a href="../../lib/Pod/perl572delta.html">perl572delta</a>        Perl changes in version 5.7.2
    <a href="../../lib/Pod/perl571delta.html">perl571delta</a>        Perl changes in version 5.7.1
    <a href="../../lib/Pod/perl570delta.html">perl570delta</a>        Perl changes in version 5.7.0
    <a href="../../lib/Pod/perl561delta.html">perl561delta</a>        Perl changes in version 5.6.1
    <a href="../../lib/Pod/perl56delta.html">perl56delta</a>         Perl changes in version 5.6
    <a href="../../lib/Pod/perl5005delta.html">perl5005delta</a>       Perl changes in version 5.005
    <a href="../../lib/Pod/perl5004delta.html">perl5004delta</a>       Perl changes in version 5.004</pre>
<pre>
    activeperl-release  Release notes for ActivePerl
    activeperl-changes  ActivePerl revision history</pre>
<pre>
    <a href="../../lib/Pod/perlartistic.html">perlartistic</a>        Perl Artistic License
    <a href="../../lib/Pod/perlgpl.html">perlgpl</a>             GNU General Public License</pre>
<p>
</p>
<h2><a name="languagespecific">Language-Specific</a></h2>
<pre>
    <a href="../../lib/Pod/perlcn.html">perlcn</a>              Perl for Simplified Chinese (in EUC-CN)
    <a href="../../lib/Pod/perljp.html">perljp</a>              Perl for Japanese (in EUC-JP)
    <a href="../../lib/Pod/perlko.html">perlko</a>              Perl for Korean (in EUC-KR)
    <a href="../../lib/Pod/perltw.html">perltw</a>              Perl for Traditional Chinese (in Big5)</pre>
<p>
</p>
<h2><a name="platformspecific">Platform-Specific</a></h2>
<pre>
    <a href="../../lib/Pod/perlaix.html">perlaix</a>             Perl notes for AIX
    <a href="../../lib/Pod/perlamiga.html">perlamiga</a>           Perl notes for AmigaOS
    <a href="../../lib/Pod/perlapollo.html">perlapollo</a>          Perl notes for Apollo DomainOS
    <a href="../../lib/Pod/perlbeos.html">perlbeos</a>            Perl notes for BeOS
    <a href="../../lib/Pod/perlbs2000.html">perlbs2000</a>          Perl notes for POSIX-BC BS2000

⌨️ 快捷键说明

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