Cari di Perl 
    Perl Tutorial
Daftar Isi
(Sebelumnya) What is new for perl v5.12.2What is new for perl v5.12.0 (Berikutnya)
History-Changes

What is new for perl v5.12.1

Daftar Isi

NAME

perl5121delta - what is new for perl v5.12.1

DESCRIPTION

This document describes differences between the 5.12.0 release andthe 5.12.1 release.

If you are upgrading from an earlier release such as 5.10.1, first readperl5120delta, which describes differences between 5.10.1 and5.12.0.

Incompatible Changes

There are no changes intentionally incompatible with 5.12.0. If anyincompatibilities with 5.12.0 exist, they are bugs. Please report them.

Core Enhancements

Other than the bug fixes listed below, there should be no user-visiblechanges to the core language in this release.

Modules and Pragmata

Pragmata Changes

  • We fixed exporting of is_strict and is_lax from version.

    These were being exported with a wrapper that treated them as methodcalls, which caused them to fail. They are just functions, aredocumented as such, and should never be subclassed, so this patchjust exports them directly as functions without the wrapper.

Updated Modules

  • We upgraded CGI.pm to version 3.49 to incorporate fixes for regressionsintroduced in the release we shipped with Perl 5.12.0.

  • We upgraded Pod::Simple to version 3.14 to get an improvement to \C\<\< \>\>parsing.

  • We made a small fix to the CPANPLUS test suite to fix an occasional spurious test failure.

  • We upgraded Safe to version 2.27 to wrap coderefs returned by reval() and rdo().

Changes to Existing Documentation

  • We added the new maintenance release policy to perlpolicy.pod

  • We've clarified the multiple-angle-bracket construct in the spec for PODin perlpodspec

  • We added a missing explanation for a warning about := to perldiag.pod

  • We removed a false claim in perlunitut that all text strings are Unicode strings in Perl.

  • We updated the Github mirror link in perlrepository to mirrors/perl, not github/perl

  • We fixed a a minor error in perl5114delta.pod.

  • We replaced a mention of the now-obsolete Switch.pm with given/when.

  • We improved documentation about $sitelibexp/sitecustomize.pl in perlrun.

  • We corrected perlmodlib.pod which had unintentionally omitted a number of modules.

  • We updated the documentation for 'require' in perlfunc.pod relating to putting Perl code in @INC.

  • We reinstated some erroneously-removed documentation about quotemeta in perlfunc.

  • We fixed an a2p example in perlutil.pod.

  • We filled in a blank in perlport.pod with the release date of Perl 5.12.

  • We fixed broken links in a number of perldelta files.

  • The documentation for Carp.pm incorrectly stated that the $Carp::Verbosevariable makes cluck generate stack backtraces.

  • We fixed a number of typos in Pod::Functions

  • We improved documentation of case-changing functions in perlfunc.pod

  • We corrected perlgpl.pod to contain the correct version of the GNUGeneral Public License.

Testing

Testing Improvements

  • t/op/sselect.t is now less prone to clock jitter during timing checkson Windows.

    sleep() time on Win32 may be rounded down to multiple ofthe clock tick interval.

  • lib/blib.t and lib/locale.t: Fixes for test failures on Darwin/PPC

  • perl5db.t: Fix for test failures when Term::ReadLine::Gnu is installed.

Installation and Configuration Improvements

Configuration improvements

  • We updated INSTALL with notes about how to deal with broken dbm.hon OpenSUSE (and possibly other platforms)

Bug Fixes

Platform Specific Notes

HP-UX

  • Perl now allows -Duse64bitint without promoting to use64bitall on HP-UX

AIX

  • Perl now builds on AIX 4.2

    The changes required work around AIX 4.2s' lack of support for IPv6,and limited support for POSIX sigaction().

FreeBSD 7

  • FreeBSD 7 no longer contains /usr/bin/objformat. At build time,Perl now skips the objformat check for versions 7 and higher andassumes ELF.

VMS

  • It's now possible to build extensions on older (pre 7.3-2) VMS systems.

    DCL symbol length was limited to 1K up until about seven years orso ago, but there was no particularly deep reason to prevent thoseolder systems from configuring and building Perl.

  • We fixed the previously-broken -Uuseperlio build on VMS.

    We were checking a variable that doesn't exist in the non-defaultcase of disabling perlio. Now we only look at it when it exists.

  • We fixed the -Uuseperlio command-line option in configure.com.

    Formerly it only worked if you went through all the questionsinteractively and explicitly answered no.

Known Problems

  • List::Util::first misbehaves in the presence of a lexical $_(typically introduced by my $_ or implicitly by given). The variablewhich gets set for each iteration is the package variable $_, not thelexical $_.

    A similar issue may occur in other modules that provide functions whichtake a block as their first argument, like

    1. foo { ... $_ ...} list

    See also: http://rt.perl.org/rt3/Public/Bug/Display.html?id=67694

  • Module::Load::Conditional and version have an unfortunateinteraction which can cause CPANPLUS to crash when it encountersan unparseable version string. Upgrading to CPANPLUS 0.9004 orModule::Load::Conditional 0.38 from CPAN will resolve this issue.

Acknowledgements

Perl 5.12.1 represents approximately four weeks of development sincePerl 5.12.0 and contains approximately 4,000 lines of changesacross 142 files from 28 authors.

Perl continues to flourish into its third decade thanks to a vibrantcommunity of users and developers. The following people are known tohave contributed the improvements that became Perl 5.12.1:

Ævar Arnfjörð Bjarmason, Chris Williams, chromatic, Craig A. Berry,David Golden, Father Chrysostomos, Florian Ragwitz, Frank Wiegand,Gene Sullivan, Goro Fuji, H.Merijn Brand, James E Keenan, Jan Dubois,Jesse Vincent, Josh ben Jore, Karl Williamson, Leon Brocard, MichaelSchwern, Nga Tang Chan, Nicholas Clark, Niko Tyni, Philippe Bruhat,Rafael Garcia-Suarez, Ricardo Signes, Steffen Mueller, Todd Rinaldo,Vincent Pit and Zefram.

Reporting Bugs

If you find what you think is a bug, you might check the articlesrecently posted to the comp.lang.perl.misc newsgroup and the perlbug database at http://rt.perl.org/perlbug/ . There may also beinformation at http://www.perl.org/ , the Perl Home Page.

If you believe you have an unreported bug, please run the perlbugprogram included with your release. Be sure to trim your bug downto a tiny but sufficient test case. Your bug report, along with theoutput of perl -V, will be sent off to [email protected] to beanalysed by the Perl porting team.

If the bug you are reporting has security implications, which make itinappropriate to send to a publicly archived mailing list, then please sendit to [email protected]. This points to a closed subscriptionunarchived mailing list, which includesall the core committers, who will be ableto help assess the impact of issues, figure out a resolution, and helpco-ordinate the release of patches to mitigate or fix the problem across allplatforms on which Perl is supported. Please only use this address forsecurity issues in the Perl core, not for modules independentlydistributed on CPAN.

SEE ALSO

The Changes file for an explanation of how to view exhaustive detailson what changed.

The INSTALL file for how to build Perl.

The README file for general stuff.

The Artistic and Copying files for copyright information.

Source : perldoc.perl.org - Official documentation for the Perl programming language
Site maintained by Jon Allen (JJ)     See the project page for more details
Documentation maintained by the Perl 5 Porters
(Sebelumnya) What is new for perl v5.12.2What is new for perl v5.12.0 (Berikutnya)