perl58delta.html
来自「perl教程」· HTML 代码 · 共 1,127 行 · 第 1/5 页
HTML
1,127 行
<?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>perl58delta - what is new for perl v5.8.0</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>perl58delta - what is new for perl v5.8.0</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="#highlights_in_5_8_0">Highlights In 5.8.0</a></li>
<li><a href="#incompatible_changes">Incompatible Changes</a></li>
<ul>
<li><a href="#binary_incompatibility">Binary Incompatibility</a></li>
<li><a href="#64bit_platforms_and_malloc">64-bit platforms and malloc</a></li>
<li><a href="#aix_dynaloading">AIX Dynaloading</a></li>
<li><a href="#attributes_for_my_variables_now_handled_at_runtime">Attributes for <a href="../../lib/Pod/perlfunc.html#item_my"><code>my</code></a> variables now handled at run-time</a></li>
<li><a href="#socket_extension_dynamic_in_vms">Socket Extension Dynamic in VMS</a></li>
<li><a href="#ieeeformat_floating_point_default_on_openvms_alpha">IEEE-format Floating Point Default on OpenVMS Alpha</a></li>
<li><a href="#new_unicode_semantics__no_more_use_utf8__almost_">New Unicode Semantics (no more <code>use utf8</code>, almost)</a></li>
<li><a href="#new_unicode_properties">New Unicode Properties</a></li>
<li><a href="#ref______instead_of_scalar_____"><code>REF(...)</code> Instead Of <code>SCALAR(...)</code></a></li>
<li><a href="#pack_unpack_d_f_recycled">pack/unpack D/F recycled</a></li>
<li><a href="#glob___now_returns_filenames_in_alphabetical_order"><a href="../../lib/Pod/perlfunc.html#item_glob"><code>glob()</code></a> now returns filenames in alphabetical order</a></li>
<li><a href="#deprecations">Deprecations</a></li>
</ul>
<li><a href="#core_enhancements">Core Enhancements</a></li>
<ul>
<li><a href="#unicode_overhaul">Unicode Overhaul</a></li>
<li><a href="#perlio_is_now_the_default">PerlIO is Now The Default</a></li>
<li><a href="#ithreads">ithreads</a></li>
<li><a href="#restricted_hashes">Restricted Hashes</a></li>
<li><a href="#safe_signals">Safe Signals</a></li>
<li><a href="#understanding_of_numbers">Understanding of Numbers</a></li>
<li><a href="#arrays_now_always_interpolate_into_doublequoted_strings__561_">Arrays now always interpolate into double-quoted strings [561]</a></li>
<li><a href="#miscellaneous_changes">Miscellaneous Changes</a></li>
</ul>
<li><a href="#modules_and_pragmata">Modules and Pragmata</a></li>
<ul>
<li><a href="#new_modules_and_pragmata">New Modules and Pragmata</a></li>
<li><a href="#updated_and_improved_modules_and_pragmata">Updated And Improved Modules and Pragmata</a></li>
</ul>
<li><a href="#utility_changes">Utility Changes</a></li>
<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>
<ul>
<li><a href="#generic_improvements">Generic Improvements</a></li>
<li><a href="#new_or_improved_platforms">New Or Improved Platforms</a></li>
</ul>
<li><a href="#selected_bug_fixes">Selected Bug Fixes</a></li>
<ul>
<li><a href="#platform_specific_changes_and_fixes">Platform Specific Changes and Fixes</a></li>
</ul>
<li><a href="#new_or_changed_diagnostics">New or Changed Diagnostics</a></li>
<li><a href="#changed_internals">Changed Internals</a></li>
<li><a href="#security_vulnerability_closed__561_">Security Vulnerability Closed [561]</a></li>
<li><a href="#new_tests">New Tests</a></li>
<li><a href="#known_problems">Known Problems</a></li>
<ul>
<li><a href="#the_compiler_suite_is_still_very_experimental">The Compiler Suite Is Still Very Experimental</a></li>
<li><a href="#localising_tied_arrays_and_hashes_is_broken">Localising Tied Arrays and Hashes Is Broken</a></li>
<li><a href="#building_extensions_can_fail_because_of_largefiles">Building Extensions Can Fail Because Of Largefiles</a></li>
<li><a href="#modifying____inside_for____">Modifying $_ Inside <code>for(..)</code></a></li>
<li><a href="#mod_perl_1_26_doesn_t_build_with_threaded_perl">mod_perl 1.26 Doesn't Build With Threaded Perl</a></li>
<li><a href="#lib_ftmpsecurity_tests_warn__system_possibly_insecure_">lib/ftmp-security tests warn 'system possibly insecure'</a></li>
<li><a href="#libwwwperl__lwp__fails_base_date__51">libwww-perl (LWP) fails base/date #51</a></li>
<li><a href="#pdl_failing_some_tests">PDL failing some tests</a></li>
<li><a href="#perl_get_sv">Perl_get_sv</a></li>
<li><a href="#selftying_problems">Self-tying Problems</a></li>
<li><a href="#ext_threads_t_libc">ext/threads/t/libc</a></li>
<li><a href="#failure_of_thread__5_005style__tests">Failure of Thread (5.005-style) tests</a></li>
<li><a href="#timing_problems">Timing problems</a></li>
<li><a href="#tied_magical_array_hash_elements_do_not_autovivify">Tied/Magical Array/Hash Elements Do Not Autovivify</a></li>
<li><a href="#unicode_in_package_class_and_subroutine_names_does_not_work">Unicode in package/class and subroutine names does not work</a></li>
</ul>
<li><a href="#platform_specific_problems">Platform Specific Problems</a></li>
<ul>
<li><a href="#aix">AIX</a></li>
<li><a href="#alpha_systems_with_old_gccs_fail_several_tests">Alpha systems with old gccs fail several tests</a></li>
<li><a href="#amigaos">AmigaOS</a></li>
<li><a href="#beos">BeOS</a></li>
<li><a href="#cygwin_unable_to_remap">Cygwin "unable to remap"</a></li>
<li><a href="#cygwin_ndbm_tests_fail_on_fat">Cygwin ndbm tests fail on FAT</a></li>
<li><a href="#djgpp_failures">DJGPP Failures</a></li>
<li><a href="#freebsd_built_with_ithreads_coredumps_reading_large_directories">FreeBSD built with ithreads coredumps reading large directories</a></li>
<li><a href="#freebsd_failing_locale_test_117_for_iso_885915_locales">FreeBSD Failing locale Test 117 For ISO 8859-15 Locales</a></li>
<li><a href="#irix_fails_ext_list_util_t_shuffle_t_or_digest__md5">IRIX fails ext/List/Util/t/shuffle.t or Digest::MD5</a></li>
<li><a href="#hpux_lib_posix_subtest_9_fails_when_lp64configured">HP-UX lib/posix Subtest 9 Fails When LP64-Configured</a></li>
<li><a href="#linux_with_glibc_2_2_5_fails_t_op_int_subtest__6_with_duse64bitint">Linux with glibc 2.2.5 fails t/op/int subtest #6 with -Duse64bitint</a></li>
<li><a href="#linux_with_sfio_fails_op_misc_test_48">Linux With Sfio Fails op/misc Test 48</a></li>
<li><a href="#mac_os_x">Mac OS X</a></li>
<li><a href="#mac_os_x_dyld_undefined_symbols">Mac OS X dyld undefined symbols</a></li>
<li><a href="#os_2_test_failures">OS/2 Test Failures</a></li>
<li><a href="#op_sprintf_tests_91__129__and_130">op/sprintf tests 91, 129, and 130</a></li>
<li><a href="#sco">SCO</a></li>
<li><a href="#solaris_2_5">Solaris 2.5</a></li>
<li><a href="#solaris_x86_fails_tests_with_duse64bitint">Solaris x86 Fails Tests With -Duse64bitint</a></li>
<li><a href="#superux__nec_sx_">SUPER-UX (NEC SX)</a></li>
<li><a href="#term__readkey_not_working_on_win32">Term::ReadKey not working on Win32</a></li>
<li><a href="#unicos_mk">UNICOS/mk</a></li>
<li><a href="#uts">UTS</a></li>
<li><a href="#vos__stratus_">VOS (Stratus)</a></li>
<li><a href="#vms">VMS</a></li>
<li><a href="#win32">Win32</a></li>
<li><a href="#xml__parser_not_working">XML::Parser not working</a></li>
<li><a href="#z_os__os_390_">z/OS (OS/390)</a></li>
<li><a href="#unicode_support_on_ebcdic_still_spotty">Unicode Support on EBCDIC Still Spotty</a></li>
<li><a href="#seen_in_perl_5_7_but_gone_now">Seen In Perl 5.7 But Gone Now</a></li>
</ul>
<li><a href="#reporting_bugs">Reporting Bugs</a></li>
<li><a href="#see_also">SEE ALSO</a></li>
<li><a href="#history">HISTORY</a></li>
</ul>
<!-- INDEX END -->
<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>perl58delta - what is new for perl v5.8.0</p>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>This document describes differences between the 5.6.0 release and
the 5.8.0 release.</p>
<p>Many of the bug fixes in 5.8.0 were already seen in the 5.6.1
maintenance release since the two releases were kept closely
coordinated (while 5.8.0 was still called 5.7.something).</p>
<p>Changes that were integrated into the 5.6.1 release are marked <code>[561]</code>.
Many of these changes have been further developed since 5.6.1 was released,
those are marked <code>[561+]</code>.</p>
<p>You can see the list of changes in the 5.6.1 release (both from the
5.005_03 release and the 5.6.0 release) by reading <a href="../../lib/Pod/perl561delta.html">the perl561delta manpage</a>.</p>
<p>
</p>
<hr />
<h1><a name="highlights_in_5_8_0">Highlights In 5.8.0</a></h1>
<ul>
<li>
<p>Better Unicode support</p>
</li>
<li>
<p>New IO Implementation</p>
</li>
<li>
<p>New Thread Implementation</p>
</li>
<li>
<p>Better Numeric Accuracy</p>
</li>
<li>
<p>Safe Signals</p>
</li>
<li>
<p>Many New Modules</p>
</li>
<li>
<p>More Extensive Regression Testing</p>
</li>
</ul>
<p>
</p>
<hr />
<h1><a name="incompatible_changes">Incompatible Changes</a></h1>
<p>
</p>
<h2><a name="binary_incompatibility">Binary Incompatibility</a></h2>
<p><strong>Perl 5.8 is not binary compatible with earlier releases of Perl.</strong></p>
<p><strong>You have to recompile your XS modules.</strong></p>
<p>(Pure Perl modules should continue to work.)</p>
<p>The major reason for the discontinuity is the new IO architecture
called PerlIO. PerlIO is the default configuration because without
it many new features of Perl 5.8 cannot be used. In other words:
you just have to recompile your modules containing XS code, sorry
about that.</p>
<p>In future releases of Perl, non-PerlIO aware XS modules may become
completely unsupported. This shouldn't be too difficult for module
authors, however: PerlIO has been designed as a drop-in replacement
(at the source code level) for the stdio interface.</p>
<p>Depending on your platform, there are also other reasons why
we decided to break binary compatibility, please read on.</p>
<p>
</p>
<h2><a name="64bit_platforms_and_malloc">64-bit platforms and malloc</a></h2>
<p>If your pointers are 64 bits wide, the Perl malloc is no longer being
used because it does not work well with 8-byte pointers. Also,
usually the system mallocs on such platforms are much better optimized
for such large memory models than the Perl malloc. Some memory-hungry
Perl applications like the PDL don't work well with Perl's malloc.
Finally, other applications than Perl (such as mod_perl) tend to prefer
the system malloc. Such platforms include Alpha and 64-bit HPPA,
MIPS, PPC, and Sparc.</p>
<p>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?