From: Rafael Garcia-Suarez Date: Tue, 22 May 2007 10:07:09 +0000 (+0000) Subject: Update perldelta X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=74bb26f25df7bfc57b10270ad96fb9c88eedde31;p=p5sagit%2Fp5-mst-13.2.git Update perldelta p4raw-id: //depot/perl@31256 --- diff --git a/pod/perl595delta.pod b/pod/perl595delta.pod index cc7ea80..76ff668 100644 --- a/pod/perl595delta.pod +++ b/pod/perl595delta.pod @@ -30,6 +30,11 @@ C and C are now subject to C (However, C and C are discouraged constructs anyway.) +=head2 C<(?p{})> has been removed + +The regular expression construct C<(?p{})>, which was deprecated in perl +5.8, has been removed. Use C<(??{})> instead. (Rafael) + =head2 Removal of the bytecode compiler and of perlcc C, the byteloader and the supporting modules (B::C, B::CC, @@ -186,7 +191,12 @@ for more information. (Alex Gough) =head2 readpipe() is now overridable The built-in function readpipe() is now overridable. Overriding it permits -also to override its operator counterpart, C (a.k.a. C<``>). (Rafael) +also to override its operator counterpart, C (a.k.a. C<``>). +Moreover, it now defaults to C<$_> if no argument is provided. (Rafael) + +=head2 default argument for readline() + +readline() now defaults to C<*ARGV> if no argument is provided. (Rafael) =head2 UCD 5.0.0 @@ -198,8 +208,23 @@ been updated to version 5.0.0. The smart match operator (C<~~>) is now available by default (you don't need to enable it with C any longer). (Michael G Schwern) +=head2 Implicit loading of C + +The C pragma is now implicitly loaded when you require a minimal +perl version (with the C construct) greater than, or equal +to, 5.9.5. + =head1 Modules and Pragmas +=head2 New Pragma, C + +A new pragma, C (for Method Resolution Order) has been added. It +permits to switch, on a per-class basis, the algorithm that perl uses to +find inherited methods in case of a mutiple inheritance hierachy. The +default MRO hasn't changed (DFS, for Depth First Search). Another MRO is +available: the C3 algorithm. See L for more information. +(Brandon Black) + =head2 New Core Modules =over 4 @@ -253,6 +278,11 @@ C provide a simple generic file fetching mechanism. C is a generic archive extraction mechanism for F<.tar> (plain, gziped or bzipped) or F<.zip> files. +=item * + +C provides an API and a command-line tool to access the CPAN +mirrors. + =back =head2 Module changes @@ -264,6 +294,11 @@ for F<.tar> (plain, gziped or bzipped) or F<.zip> files. The C pragma now warns if a class tries to inherit from itself. (Curtis "Ovid" Poe) +=item C and C + +C and C will now complain loudly if they are loaded via +incorrect casing (as in C). (Johan Vromans) + =item C The C pragma doesn't load C anymore. That means that code @@ -306,8 +341,24 @@ ben Jore) =head1 Utility Changes +=head2 C + +C, the CPANPLUS shell, has been added. (C, an +helper for CPANPLUS operation, has been added too, but isn't intended for +direct use). + +=head2 C + +The output of C has been enhanced to be more customizable via +CSS. Some formatting problems were also corrected. (Jari Aalto) + =head1 Documentation +=head2 New manpage, perlunifaq + +A new manual page, L (the Perl Unicode FAQ), has been added +(Juerd Waalboer). + =head1 Performance Enhancements =head1 Installation and Configuration Improvements @@ -349,8 +400,18 @@ accordingly to the contents of that %INC entry. (Rafael) The C<-w> and C<-t> switches can now be used together without messing up what categories of warnings are activated or not. (Rafael) +Duping a filehandle which has the C<:utf8> PerlIO layer set will now +properly carry that layer on the duped filehandle. (Rafael) + =head1 New or Changed Diagnostics +=head2 Deprecations + +Two deprecation warnings have been added: (Rafael) + + Opening dirhandle %s also as a file + Opening filehandle %s also as a directory + =head1 Changed Internals The anonymous hash and array constructors now take 1 op in the optree