perl561delta.html

来自「perl教程」· HTML 代码 · 共 1,261 行 · 第 1/5 页

HTML
1,261 行
字号
is also evolving rapidly on a daily basis in the development track--the
maintenance track only reflects the most conservative of these changes.</p>
</dd>
</li>
<li><strong><a name="item__2dbit_support">-bit support</a></strong>

<p>Support for 64-bit platforms has been improved, but continues to be
experimental.  The level of support varies greatly among platforms.</p>
</li>
<dt><strong><a name="item_compiler">Compiler</a></strong>

<dd>
<p>The B Compiler and its various backends have had many incremental
improvements, but they continue to remain highly experimental.  Use in
production environments is discouraged.</p>
</dd>
<dd>
<p>The perlcc tool has been rewritten so that the user interface is much
more like that of a C compiler.</p>
</dd>
<dd>
<p>The perlbc tools has been removed.  Use <code>perlcc -B</code> instead.</p>
</dd>
</li>
<dt><strong><a name="item_lvalue_subroutines">Lvalue subroutines</a></strong>

<dd>
<p>There have been various bugfixes to support lvalue subroutines better.
However, the feature still remains experimental.</p>
</dd>
</li>
<dt><strong><a name="item_io_3a_3asocket">IO::Socket</a></strong>

<dd>
<p>IO::Socket::INET failed to open the specified port if the service
name was not known.  It now correctly uses the supplied port number
as is.</p>
</dd>
</li>
<dt><strong><a name="item_file_3a_3afind">File::Find</a></strong>

<dd>
<p>File::Find now chdir()s correctly when chasing symbolic links.</p>
</dd>
</li>
<dt><strong><a name="item_xsubpp">xsubpp</a></strong>

<dd>
<p>xsubpp now tolerates embedded POD sections.</p>
</dd>
</li>
<dt><strong><a name="item_no_module_3b"><code>no Module;</code></a></strong>

<dd>
<p><a href="#item_no_module_3b"><code>no Module;</code></a> does not produce an error even if Module does not have an
<code>unimport()</code> method.  This parallels the behavior of <a href="../../lib/Pod/perlfunc.html#item_use"><code>use</code></a> vis-a-vis
<a href="../../lib/Pod/perlfunc.html#item_import"><code>import</code></a>.</p>
</dd>
</li>
<dt><strong><a name="item_tests">Tests</a></strong>

<dd>
<p>A large number of tests have been added.</p>
</dd>
</li>
</dl>
<p>
</p>
<h2><a name="core_features">Core features</a></h2>
<p><a href="../../lib/Pod/perlfunc.html#item_untie"><code>untie()</code></a> will now call an <code>UNTIE()</code> hook if it exists.  See <a href="../../lib/Pod/perltie.html">the perltie manpage</a>
for details.</p>
<p>The <code>-DT</code> command line switch outputs copious tokenizing information.
See <a href="../../lib/Pod/perlrun.html">the perlrun manpage</a>.</p>
<p>Arrays are now always interpolated in double-quotish strings.  Previously,
<code>&quot;foo@bar.com&quot;</code> used to be a fatal error at compile time, if an array
<code>@bar</code> was not used or declared.  This transitional behavior was
intended to help migrate perl4 code, and is deemed to be no longer useful.
See <a href="#arrays_now_always_interpolate_into_doublequoted_strings">Arrays now always interpolate into double-quoted strings</a>.</p>
<p>keys(), each(), pop(), push(), shift(), <a href="../../lib/Pod/perlfunc.html#item_splice"><code>splice()</code></a> and <a href="../../lib/Pod/perlfunc.html#item_unshift"><code>unshift()</code></a>
can all be overridden now.</p>
<p><code>my __PACKAGE__ $obj</code> now does the expected thing.</p>
<p>
</p>
<h2><a name="configuration_issues">Configuration issues</a></h2>
<p>On some systems (IRIX and Solaris among them) the system malloc is demonstrably
better.  While the defaults haven't been changed in order to retain binary
compatibility with earlier releases, you may be better off building perl
with <code>Configure -Uusemymalloc ...</code> as discussed in the <em>INSTALL</em> file.</p>
<p><code>Configure</code> has been enhanced in various ways:</p>
<ul>
<li>
<p>Minimizes use of temporary files.</p>
</li>
<li>
<p>By default, does not link perl with libraries not used by it, such as
the various dbm libraries.  SunOS 4.x hints preserve behavior on that
platform.</p>
</li>
<li>
<p>Support for pdp11-style memory models has been removed due to obsolescence.</p>
</li>
<li>
<p>Building outside the source tree is supported on systems that have
symbolic links. This is done by running</p>
<pre>
    sh /path/to/source/Configure -Dmksymlinks ...
    make all test install</pre>
<p>in a directory other than the perl source directory.  See <em>INSTALL</em>.</p>
</li>
<li>
<p><code>Configure -S</code> can be run non-interactively.</p>
</li>
</ul>
<p>
</p>
<h2><a name="documentation">Documentation</a></h2>
<p>README.aix, README.solaris and README.macos have been added.
README.posix-bc has been renamed to README.bs2000.  These are
installed as <a href="../../lib/Pod/perlaix.html">the perlaix manpage</a>, <a href="../../lib/Pod/perlsolaris.html">the perlsolaris manpage</a>, <a href="../../lib/Pod/perlmacos.html">the perlmacos manpage</a>, and
<a href="../../lib/Pod/perlbs2000.html">the perlbs2000 manpage</a> respectively.</p>
<p>The following pod documents are brand new:</p>
<pre>
    <a href="../../lib/Pod/perlclib.html">perlclib</a>    Internal replacements for standard C library functions
    <a href="../../lib/Pod/perldebtut.html">perldebtut</a>  Perl debugging tutorial
    <a href="../../lib/Pod/perlebcdic.html">perlebcdic</a>  Considerations for running Perl on EBCDIC platforms
    <a href="../../lib/Pod/perlnewmod.html">perlnewmod</a>  Perl modules: preparing a new module for distribution
    <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
    <a href="../../lib/Pod/perlutil.html">perlutil</a>    utilities packaged with the Perl distribution</pre>
<p>The <em>INSTALL</em> file has been expanded to cover various issues, such as
64-bit support.</p>
<p>A longer list of contributors has been added to the source distribution.
See the file <code>AUTHORS</code>.</p>
<p>Numerous other changes have been made to the included documentation and FAQs.</p>
<p>
</p>
<h2><a name="bundled_modules">Bundled modules</a></h2>
<p>The following modules have been added.</p>
<dl>
<dt><strong><a name="item_b_3a_3aconcise">B::Concise</a></strong>

<dd>
<p>Walks Perl syntax tree, printing concise info about ops.  See <a href="../../lib/B/Concise.html">the B::Concise manpage</a>.</p>
</dd>
</li>
<dt><strong><a name="item_file_3a_3atemp">File::Temp</a></strong>

<dd>
<p>Returns name and handle of a temporary file safely.  See <a href="../../lib/File/Temp.html">the File::Temp manpage</a>.</p>
</dd>
</li>
<dt><strong><a name="item_pod_3a_3alatex">Pod::LaTeX</a></strong>

<dd>
<p>Converts Pod data to formatted LaTeX.  See <a href="../../lib/Pod/LaTeX.html">the Pod::LaTeX manpage</a>.</p>
</dd>
</li>
<dt><strong><a name="item_pod_3a_3atext_3a_3aoverstrike">Pod::Text::Overstrike</a></strong>

<dd>
<p>Converts POD data to formatted overstrike text.  See <a href="../../lib/Pod/Text/Overstrike.html">the Pod::Text::Overstrike manpage</a>.</p>
</dd>
</li>
</dl>
<p>The following modules have been upgraded.</p>
<dl>
<dt><strong><a name="item_cgi">CGI</a></strong>

<dd>
<p>CGI v2.752 is now included.</p>
</dd>
</li>
<dt><strong><a name="item_cpan">CPAN</a></strong>

<dd>
<p>CPAN v1.59_54 is now included.</p>
</dd>
</li>
<dt><strong><a name="item_class_3a_3astruct">Class::Struct</a></strong>

<dd>
<p>Various bugfixes have been added.</p>
</dd>
</li>
<dt><strong><a name="item_db_file">DB_File</a></strong>

<dd>
<p>DB_File v1.75 supports newer Berkeley DB versions, among other
improvements.</p>
</dd>
</li>
<dt><strong><a name="item_devel_3a_3apeek">Devel::Peek</a></strong>

<dd>
<p>Devel::Peek has been enhanced to support dumping of memory statistics,
when perl is built with the included malloc().</p>
</dd>
</li>
<dt><strong>File::Find</strong>

<dd>
<p>File::Find now supports pre and post-processing of the files in order
to <a href="#item_sort"><code>sort()</code></a> them, etc.</p>
</dd>
</li>
<dt><strong><a name="item_getopt_3a_3along">Getopt::Long</a></strong>

<dd>
<p>Getopt::Long v2.25 is included.</p>
</dd>
</li>
<dt><strong><a name="item_io_3a_3apoll">IO::Poll</a></strong>

<dd>
<p>Various bug fixes have been included.</p>
</dd>
</li>
<dt><strong><a name="item_ipc_3a_3aopen3">IPC::Open3</a></strong>

<dd>
<p>IPC::Open3 allows use of numeric file descriptors.</p>
</dd>
</li>
<dt><strong><a name="item_math_3a_3abigfloat">Math::BigFloat</a></strong>

<dd>
<p>The <code>fmod()</code> function supports modulus operations.  Various bug fixes
have also been included.</p>
</dd>
</li>
<dt><strong><a name="item_math_3a_3acomplex">Math::Complex</a></strong>

<dd>
<p>Math::Complex handles inf, NaN etc., better.</p>
</dd>
</li>
<dt><strong><a name="item_net_3a_3aping">Net::Ping</a></strong>

<dd>
<p><code>ping()</code> could fail on odd number of data bytes, and when the echo service
isn't running.  This has been corrected.</p>
</dd>
</li>
<dt><strong><a name="item_opcode">Opcode</a></strong>

<dd>
<p>A memory leak has been fixed.</p>
</dd>
</li>
<dt><strong><a name="item_pod_3a_3aparser">Pod::Parser</a></strong>

<dd>
<p>Version 1.13 of the Pod::Parser suite is included.</p>

⌨️ 快捷键说明

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