[release-notes] Perl 5.20

pbokoc pbokoc at fedoraproject.org
Thu Apr 9 16:46:58 UTC 2015


commit 45d0e14ec3c81f739fa9a133306eb32dbd32b1df
Author: Petr Bokoc <pbokoc at redhat.com>
Date:   Thu Apr 9 18:08:51 2015 +0200

    Perl 5.20

 en-US/Development.xml |  104 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 104 insertions(+), 0 deletions(-)
---
diff --git a/en-US/Development.xml b/en-US/Development.xml
index 14eb500..fced222 100644
--- a/en-US/Development.xml
+++ b/en-US/Development.xml
@@ -9,6 +9,110 @@
   <title>Development</title>
 	<para />
 
+	<section id="sect-devel-perl-520">
+		<title>Perl 5.2.0</title>
+		<para>
+			Perl has been updated to version 5.20 in Fedora&nbsp;22. This new release brings several new features, changes to existing behavior, and removes a few features; notable changes are described below.
+		</para>
+		<bridgehead>New features:</bridgehead>
+		<itemizedlist>
+			<listitem>
+				<para>
+					Subroutine <literal>prototype</literal> attribute allows to declare subroutine prototype in postfix manner.
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					The new <literal>%hash{...}</literal> and <literal>%array{...}</literal> syntax returns a list of key/value and index/value pairs, respectively.
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					Added support for Unicode 6.3 tables.
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					More internal counters support 64-bit values (arrays with more than 2^32 elements, regular expression matching strings with more than 2^32 characters).
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					Copy-on-write mechanism is used when assigning scalars.
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					Speed improvements (lazy evaluation of logical conjunction and disjunction in void context, constant hash look-ups, return at the end of a subroutine).
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					New modules have been added into the core (<literal>experimental</literal>, <literal>IO::Socket::IP</literal>).
+				</para>
+			</listitem>
+		</itemizedlist>
+		<bridgehead>Changes in existing behavior:</bridgehead>
+		<itemizedlist>
+			<listitem>
+				<para>
+					<literal>use locale</literal> in an UTF-8 locale environment enables Unicode character type processing.
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					Perl initializes locale according to all locale environment variables (such as <literal>LANG</literal>).
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					The <option>-F</option> Perl option implies the <option>-a</option> option, and the <option>-a</option> option implies the <option>-n</option> option.
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					Character after a <literal>\c</literal> sequence in a double-quoted string or regular expression must be a printable character and may <emphasis>not</emphasis> be a <literal>{</literal>.
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					In <literal>use locale</literal> scope, regular expression matching which depends on locale properties (like character case) taints values.
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					The regular expression pattern element <literal>\p{All}</literal> previously matched only Unicode code points. Now it matches all code points, making it equivalent to <literal>qr/./s</literal>. Therefore, <literal>\p{All}</literal> is no longer synonymous with <literal>\p{Any}</literal>, which continues to match only Unicode code points.
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					The output format for <literal>Data::Dumper</literal> has changed.
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					Locale decimal point in Perl code is subject to locale only in scope of <literal>use locale</literal>.
+				</para>
+			</listitem>
+		</itemizedlist>
+		<bridgehead>Removed features:</bridgehead>
+		<itemizedlist>
+			<listitem>
+				<para>
+					<literal>do subroutine(LIST)</literal> is no longer supported and results in a syntax error.
+				</para>
+			</listitem>
+			<listitem>
+				<para>
+					The <literal>PerlIO_vsprintf()</literal> and <literal>PerlIO_sprintf()</literal> functions have been removed.
+				</para>
+			</listitem>
+		</itemizedlist>
+		<para>
+			For more information, see the <ulink url="http://search.cpan.org/dist/perl-5.20.0/pod/perldelta.pod">Perl 5.20 perldelta</ulink>, <ulink url="http://search.cpan.org/dist/perl-5.20.1/pod/perldelta.pod">Perl 5.20.1 perldelta</ulink>, and <ulink url="http://search.cpan.org/dist/perl-5.20.2/pod/perldelta.pod">Perl 5.20.2 perldelta</ulink>.
+		</para>
+	</section>
+
 	<section id="sect-devel-glibc-unicode">
 		<title>Unicode 7.0 Support in Glibc</title>
 		<para>


More information about the docs-commits mailing list