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

What is new for perl v5.12.2

Daftar Isi

NAME

perl5122delta - what is new for perl v5.12.2

DESCRIPTION

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

If you are upgrading from an earlier major version, such as 5.10.1,first read perl5120delta, which describes differences between 5.10.1and 5.12.0, as well as perl5121delta, which describes earlier changesin the 5.12 stable release series.

Incompatible Changes

There are no changes intentionally incompatible with 5.12.1. If any exist, theyare bugs and reports are welcome.

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

New Modules and Pragmata

This release does not introduce any new modules or pragmata.

Pragmata Changes

In the previous release, no VERSION; statements triggered a bugwhich could cause feature bundles to be loaded and strict mode tobe enabled unintentionally.

Updated Modules

  • Carp

    Upgraded from version 1.16 to 1.17.

    Carp now detects incomplete caller EXPRoverrides and avoids using bogus @DB::args. To provide backtraces, Carprelies on particular behaviour of the caller built-in. Carp now detectsif other code has overridden this with an incomplete implementation, andmodifies its backtrace accordingly. Previously incomplete overrides wouldcause incorrect values in backtraces (best case), or obscure fatal errors(worst case)

    This fixes certain cases of Bizarre copy of ARRAY caused by modulesoverriding caller() incorrectly.

  • CPANPLUS

    A patch to cpanp-run-perl has been backported from CPANPLUS 0.9004. Thisresolves RT #55964and RT #57106, bothof which related to failures to install distributions that useModule::Install::DSL.

  • File::Glob

    A regression which caused a failure to find CORE::GLOBAL::glob afterloading File::Glob to crash has been fixed. Now, it correctly falls backto external globbing via pp_glob.

  • File::Copy

    File::Copy::copy(FILE, DIR) is now documented.

  • File::Spec

    Upgraded from version 3.31 to 3.31_01.

    Several portability fixes were made in File::Spec::VMS: a colon is nowrecognized as a delimiter in native filespecs; caret-escaped delimiters arerecognized for better handling of extended filespecs; catpath() returnsan empty directory rather than the current directory if the input directoryname is empty; abs2rel() properly handles Unix-style input.

Utility Changes

  • perlbug now always gives the reporter a chance to change the email address itguesses for them.

  • perlbug should no longer warn about uninitialized values when using the -dand -v options.

Changes to Existing Documentation

  • The existing policy on backward-compatibility and deprecation hasbeen added to perlpolicy, along with definitions of terms likedeprecation.

  • srand's usage has been clarified.

  • The entry for die was reorganized to emphasize itsrole in the exception mechanism.

  • Perl's INSTALL file has been clarified to explicitly state that Perlrequires a C89 compliant ANSI C Compiler.

  • IO::Socket's getsockopt() and setsockopt() have been documented.

  • alarm()'s inability to interrupt blocking IO on Windows has been documented.

  • Math::TrulyRandom hasn't been updated since 1996 and has been removedas a recommended solution for random number generation.

  • perlrun has been updated to clarify the behaviour of octal flags to perl.

  • To ease user confusion, $# and $*, two special variables that wereremoved in earlier versions of Perl have been documented.

  • The version of perlfaq shipped with the Perl core has been updated from theofficial FAQ version, which is now maintained in the briandfoy/perlfaqbranch of the Perl repository at git://perl5.git.perl.org/perl.git.

Installation and Configuration Improvements

Configuration improvements

  • The d_u32align configuration probe on ARM has been fixed.

Compilation improvements

  • An "incompatible operand types" error in ternary expressions when buildingwith clang has been fixed.

  • Perl now skips setuid File::Copy tests on partitions it detects to be mountedas nosuid.

Selected Bug Fixes

  • A possible segfault in the T_PRTOBJ default typemap has been fixed.

  • A possible memory leak when using caller EXPR to set@DB::args has been fixed.

  • Several memory leaks when loading XS modules were fixed.

  • unpack() now handles scalar context correctly for %32H and %32u,fixing a potential crash. split() would crash because the third itemon the stack wasn't the regular expression it expected. unpack("%2H",...) would return both the unpacked result and the checksum on the stack,as would unpack("%2u", ...).[perl #73814]

  • Perl now avoids using memory after calling free() in pp_requirewhen there are CODEREFs in @INC.

  • A bug that could cause "Unknown error" messages when"call_sv(code, G_EVAL)" is called from an XS destructor has been fixed.

  • The implementation of the open $fh, '>' \$buffer featurenow supports get/set magic and thus tied buffers correctly.

  • The pp_getc, pp_tell, and pp_eof opcodes now make room on thestack for their return values in cases where no argument was passed in.

  • When matching unicode strings under some conditions inappropriate backtracking wouldresult in a Malformed UTF-8 character (fatal) error. This should no longer occur.See [perl #75680]

Platform Specific Notes

AIX

  • README.aix has been updated with information about the XL C/C++ V11 compilersuite.

Windows

  • When building Perl with the mingw64 x64 cross-compiler incpath,libpth, ldflags, lddlflags and ldflags_nolargefiles valuesin Config.pm and Config_heavy.pl were not previously being setcorrectly because, with that compiler, the include and lib directoriesare not immediately below $(CCHOME).

VMS

  • git_version.h is now installed on VMS. This was an oversight in v5.12.0 whichcaused some extensions to fail to build.

  • Several memory leaks in stat FILEHANDLE have been fixed.

  • A memory leak in Perl_rename() due to a double allocation has beenfixed.

  • A memory leak in vms_fid_to_name() (used by realpath() andrealname()) has been fixed.

Acknowledgements

Perl 5.12.2 represents approximately three months of development sincePerl 5.12.1 and contains approximately 2,000 lines of changes across100 files from 36 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.2:

Abigail, Ævar Arnfjörð Bjarmason, Ben Morrow, brian d foy, BrianPhillips, Chas. Owens, Chris 'BinGOs' Williams, Chris Williams,Craig A. Berry, Curtis Jewell, Dan Dascalescu, David Golden, DavidMitchell, Father Chrysostomos, Florian Ragwitz, George Greer, H.MerijnBrand, Jan Dubois, Jesse Vincent, Jim Cromie, Karl Williamson, LarsDɪᴇᴄᴋᴏᴡ 迪拉斯, Leon Brocard, Maik Hentsche, Matt S Trout,Nicholas Clark, Rafael Garcia-Suarez, Rainer Tammer, Ricardo Signes,Salvador Ortiz Garcia, Sisyphus, Slaven Rezic, Steffen Mueller, Tony Cook,Vincent Pit and Yves Orton.

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.3What is new for perl v5.12.1 (Berikutnya)