diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-05-22 10:07:09 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-05-22 10:07:09 +0000 |
commit | 74bb26f25df7bfc57b10270ad96fb9c88eedde31 (patch) | |
tree | 18fdcad7888a652f9e904c2bba6122982582e14c /pod | |
parent | 13765c85de4dc05031cfb5d6273ea7e178b9807b (diff) | |
download | perl-74bb26f25df7bfc57b10270ad96fb9c88eedde31.tar.gz |
Update perldelta
p4raw-id: //depot/perl@31256
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perl595delta.pod | 63 |
1 files changed, 62 insertions, 1 deletions
diff --git a/pod/perl595delta.pod b/pod/perl595delta.pod index cc7ea80f1a..76ff668cb8 100644 --- a/pod/perl595delta.pod +++ b/pod/perl595delta.pod @@ -30,6 +30,11 @@ C<defined @$foo> and C<defined %$bar> are now subject to C<strict 'refs'> (However, C<defined(@foo)> and C<defined(%bar)> 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<perlcc>, 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<qx//> (a.k.a. C<``>). (Rafael) +also to override its operator counterpart, C<qx//> (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<use feature> any longer). (Michael G Schwern) +=head2 Implicit loading of C<feature> + +The C<feature> pragma is now implicitly loaded when you require a minimal +perl version (with the C<use VERSION> construct) greater than, or equal +to, 5.9.5. + =head1 Modules and Pragmas +=head2 New Pragma, C<mro> + +A new pragma, C<mro> (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<mro> for more information. +(Brandon Black) + =head2 New Core Modules =over 4 @@ -253,6 +278,11 @@ C<File::Fetch> provide a simple generic file fetching mechanism. C<Archive::Extract> is a generic archive extraction mechanism for F<.tar> (plain, gziped or bzipped) or F<.zip> files. +=item * + +C<CPANPLUS> 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<base> pragma now warns if a class tries to inherit from itself. (Curtis "Ovid" Poe) +=item C<strict> and C<warnings> + +C<strict> and C<warnings> will now complain loudly if they are loaded via +incorrect casing (as in C<use Strict;>). (Johan Vromans) + =item C<warnings> The C<warnings> pragma doesn't load C<Carp> anymore. That means that code @@ -306,8 +341,24 @@ ben Jore) =head1 Utility Changes +=head2 C<cpanp> + +C<cpanp>, the CPANPLUS shell, has been added. (C<cpanp-run-perl>, an +helper for CPANPLUS operation, has been added too, but isn't intended for +direct use). + +=head2 C<pod2html> + +The output of C<pod2html> 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<perlunifaq> (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 |