perldelta.html

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

HTML
1,202
字号
<?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>perldelta - what is new for perl v5.8.8</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>perldelta - what is new for perl v5.8.8</a></h1>
<p><a name="__index__"></a></p>

<!-- INDEX BEGIN -->

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<li><a href="#incompatible_changes">Incompatible Changes</a></li>
	<li><a href="#core_enhancements">Core Enhancements</a></li>
	<li><a href="#modules_and_pragmata">Modules and Pragmata</a></li>
	<li><a href="#utility_changes">Utility Changes</a></li>
	<ul>

		<li><a href="#h2xs_enhancements"><code>h2xs</code> enhancements</a></li>
		<li><a href="#perlivp_enhancements"><code>perlivp</code> enhancements</a></li>
	</ul>

	<li><a href="#new_documentation">New Documentation</a></li>
	<li><a href="#performance_enhancements">Performance Enhancements</a></li>
	<li><a href="#installation_and_configuration_improvements">Installation and Configuration Improvements</a></li>
	<li><a href="#selected_bug_fixes">Selected Bug Fixes</a></li>
	<ul>

		<li><a href="#no_warnings__category__works_correctly_with_w">no warnings 'category' works correctly with -w</a></li>
		<li><a href="#remove_overoptimisation">Remove over-optimisation</a></li>
		<li><a href="#sprintf___fixes"><a href="../../lib/Pod/perlfunc.html#item_sprintf"><code>sprintf()</code></a> fixes</a></li>
		<li><a href="#debugger_and_unicode_slowdown">Debugger and Unicode slowdown</a></li>
		<li><a href="#smaller_fixes">Smaller fixes</a></li>
	</ul>

	<li><a href="#new_or_changed_diagnostics">New or Changed Diagnostics</a></li>
	<ul>

		<li><a href="#attempt_to_set_length_of_freed_array">Attempt to set length of freed array</a></li>
		<li><a href="#nonstring_passed_as_bitmask">Non-string passed as bitmask</a></li>
		<li><a href="#search_pattern_not_terminated_or_ternary_operator_parsed_as_search_pattern">Search pattern not terminated or ternary operator parsed as search pattern</a></li>
	</ul>

	<li><a href="#changed_internals">Changed Internals</a></li>
	<li><a href="#platform_specific_problems">Platform Specific Problems</a></li>
	<li><a href="#reporting_bugs">Reporting Bugs</a></li>
	<li><a href="#see_also">SEE ALSO</a></li>
</ul>
<!-- INDEX END -->

<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>perldelta - what is new for perl v5.8.8</p>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>This document describes differences between the 5.8.7 release and
the 5.8.8 release.</p>
<p>
</p>
<hr />
<h1><a name="incompatible_changes">Incompatible Changes</a></h1>
<p>There are no changes intentionally incompatible with 5.8.7. If any exist,
they are bugs and reports are welcome.</p>
<p>
</p>
<hr />
<h1><a name="core_enhancements">Core Enhancements</a></h1>
<ul>
<li>
<p><a href="../../lib/Pod/perlfunc.html#item_chdir"><code>chdir</code></a>, <a href="../../lib/Pod/perlfunc.html#item_chmod"><code>chmod</code></a> and <a href="../../lib/Pod/perlfunc.html#item_chown"><code>chown</code></a> can now work on filehandles as well as
filenames, if the system supports respectively <code>fchdir</code>, <code>fchmod</code> and
<code>fchown</code>, thanks to a patch provided by Gisle Aas.</p>
</li>
</ul>
<p>
</p>
<hr />
<h1><a name="modules_and_pragmata">Modules and Pragmata</a></h1>
<ul>
<li>
<p><code>Attribute::Handlers</code> upgraded to version 0.78_02</p>
<ul>
<li>
<p>Documentation typo fix</p>
</li>
</ul>
<li>
<p><code>attrs</code> upgraded to version 1.02</p>
<ul>
<li>
<p>Internal cleanup only</p>
</li>
</ul>
<li>
<p><code>autouse</code> upgraded to version 1.05</p>
<ul>
<li>
<p>Simplified implementation</p>
</li>
</ul>
<li>
<p><code>B</code> upgraded to version 1.09_01</p>
<ul>
<li>
<p>The inheritance hierarchy of the <code>B::</code> modules has been corrected;
<code>B::NV</code> now inherits from <code>B::SV</code> (instead of <code>B::IV</code>).</p>
</li>
</ul>
<li>
<p><code>blib</code> upgraded to version 1.03</p>
<ul>
<li>
<p>Documentation typo fix</p>
</li>
</ul>
<li>
<p><code>ByteLoader</code> upgraded to version 0.06</p>
<ul>
<li>
<p>Internal cleanup</p>
</li>
</ul>
<li>
<p><code>CGI</code> upgraded to version 3.15</p>
<ul>
<li>
<p>Extraneous &quot;?&quot; from <code>self_url()</code> removed</p>
</li>
<li>
<p><code>scrolling_list()</code> select attribute fixed</p>
</li>
<li>
<p><code>virtual_port</code> now works properly with the https protocol</p>
</li>
<li>
<p><code>upload_hook()</code> and <code>append()</code> now works in function-oriented mode</p>
</li>
<li>
<p><code>POST_MAX</code> doesn't cause the client to hang any more</p>
</li>
<li>
<p>Automatic tab indexes are now disabled and new <code>-tabindex</code> pragma has
been added to turn automatic indexes back on</p>
</li>
<li>
<p><code>end_form()</code> doesn't emit empty (and non-validating) <code>&lt;div&gt;</code></p>
</li>
<li>
<p><code>CGI::Carp</code> works better in certain mod_perl configurations</p>
</li>
<li>
<p>Setting <code>$CGI::TMPDIRECTORY</code> is now effective</p>
</li>
<li>
<p>Enhanced documentation</p>
</li>
</ul>
<li>
<p><code>charnames</code> upgraded to version 1.05</p>
<ul>
<li>
<p><code>viacode()</code> now accept hex strings and has been optimized.</p>
</li>
</ul>
<li>
<p><code>CPAN</code> upgraded to version 1.76_02</p>
<ul>
<li>
<p>1 minor bug fix for Win32</p>
</li>
</ul>
<li>
<p><code>Cwd</code> upgraded to version 3.12</p>
<ul>
<li>
<p><code>canonpath()</code> on Win32 now collapses <em>foo\..</em> sections correctly.</p>
</li>
<li>
<p>Improved behaviour on Symbian OS.</p>
</li>
<li>
<p>Enhanced documentation and typo fixes</p>
</li>
<li>
<p>Internal cleanup</p>
</li>
</ul>
<li>
<p><code>Data::Dumper</code> upgraded to version 2.121_08</p>
<ul>
<li>
<p>A problem where <code>Data::Dumper</code> would sometimes update the iterator state
of hashes has been fixed</p>
</li>
<li>
<p>Numeric labels now work</p>
</li>
<li>
<p>Internal cleanup</p>
</li>
</ul>
<li>
<p><code>DB</code> upgraded to version 1.01</p>
<ul>
<li>
<p>A problem where the state of the regexp engine would sometimes get clobbered when running
under the debugger has been fixed.</p>
</li>
</ul>
<li>
<p><code>DB_File</code> upgraded to version 1.814</p>
<ul>
<li>
<p>Adds support for Berkeley DB 4.4.</p>
</li>
</ul>
<li>
<p><code>Devel::DProf</code> upgraded to version 20050603.00</p>
<ul>
<li>
<p>Internal cleanup</p>
</li>
</ul>
<li>
<p><code>Devel::Peek</code> upgraded to version 1.03</p>
<ul>
<li>
<p>Internal cleanup</p>
</li>
</ul>
<li>
<p><code>Devel::PPPort</code> upgraded to version 3.06_01</p>
<ul>
<li>
<p><code>--compat-version</code> argument checking has been improved</p>
</li>
<li>
<p>Files passed on the command line are filtered by default</p>
</li>
<li>
<p><code>--nofilter</code> option to override the filtering has been added</p>
</li>
<li>
<p>Enhanced documentation</p>
</li>
</ul>
<li>
<p><code>diagnostics</code> upgraded to version 1.15</p>
<ul>
<li>
<p>Documentation typo fix</p>
</li>
</ul>
<li>
<p><code>Digest</code> upgraded to version 1.14</p>
<ul>
<li>
<p>The constructor now knows which module implements SHA-224</p>
</li>
<li>
<p>Documentation tweaks and typo fixes</p>
</li>
</ul>
<li>
<p><code>Digest::MD5</code> upgraded to version 2.36</p>
<ul>
<li>
<p><code>XSLoader</code> is now used for faster loading</p>
</li>
<li>
<p>Enhanced documentation including MD5 weaknesses discovered lately</p>
</li>
</ul>
<li>
<p><code>Dumpvalue</code> upgraded to version 1.12</p>
<ul>
<li>
<p>Documentation fix</p>
</li>
</ul>
<li>
<p><code>DynaLoader</code> upgraded but unfortunately we're not able to increment its version number :-(</p>
<ul>
<li>
<p>Implements <code>dl_unload_file</code> on Win32</p>
</li>
<li>
<p>Internal cleanup</p>
</li>
<li>
<p><code>XSLoader</code> 0.06 incorporated; small optimisation for calling
<code>bootstrap_inherit()</code> and documentation enhancements.</p>
</li>
</ul>
<li>
<p><code>Encode</code> upgraded to version 2.12</p>
<ul>
<li>
<p>A coderef is now acceptable for <code>CHECK</code>!</p>
</li>
<li>
<p>3 new characters added to the ISO-8859-7 encoding</p>
</li>
<li>
<p>New encoding <code>MIME-Header-ISO_2022_JP</code> added</p>
</li>
<li>
<p>Problem with partial characters and <code>encoding(utf-8-strict)</code> fixed.</p>
</li>
<li>
<p>Documentation enhancements and typo fixes</p>
</li>
</ul>
<li>
<p><code>English</code> upgraded to version 1.02</p>
<ul>
<li>
<p>the <a href="../../lib/Pod/perlvar.html#item__compiling"><code>$COMPILING</code></a> variable has been added</p>
</li>
</ul>
<li>
<p><code>ExtUtils::Constant</code> upgraded to version 0.17</p>
<ul>
<li>
<p>Improved compatibility with older versions of perl</p>
</li>
</ul>
<li>
<p><code>ExtUtils::MakeMaker</code> upgraded to version 6.30 (was 6.17)</p>
<ul>
<li>
<p>Too much to list here;  see <a href="http://search.cpan.org/src/MSCHWERN/ExtUtils-MakeMaker-6.30/Changes">http://search.cpan.org/src/MSCHWERN/ExtUtils-MakeMaker-6.30/Changes</a></p>
</li>
</ul>
<li>
<p><code>File::Basename</code> upgraded to version 2.74, with changes contributed by Michael Schwern.</p>
<ul>
<li>
<p>Documentation clarified and errors corrected.</p>
</li>
<li>
<p><code>basename</code> now strips trailing path separators before processing the name.</p>
</li>
<li>
<p><code>basename</code> now returns <code>/</code> for parameter <code>/</code>, to make <code>basename</code>
consistent with the shell utility of the same name.</p>
</li>
<li>
<p>The suffix is no longer stripped if it is identical to the remaining characters
in the name, again for consistency with the shell utility.</p>
</li>
<li>
<p>Some internal code cleanup.</p>
</li>
</ul>
<li>
<p><code>File::Copy</code> upgraded to version 2.09</p>
<ul>
<li>
<p>Copying a file onto itself used to fail.</p>
</li>
<li>
<p>Moving a file between file systems now preserves the access and
modification time stamps</p>
</li>
</ul>
<li>
<p><code>File::Find</code> upgraded to version 1.10</p>
<ul>
<li>
<p>Win32 portability fixes</p>
</li>
<li>
<p>Enhanced documentation</p>
</li>
</ul>
<li>
<p><code>File::Glob</code> upgraded to version 1.05</p>
<ul>
<li>
<p>Internal cleanup</p>
</li>

⌨️ 快捷键说明

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