Channels ▼
RSS

Open Source

Perl 5.12 Released



The Perl Foundation has announced the release of Perl 5.12. This was quickly followed by ActiveState's announcement that it has launched ActivePerl 5.12. You can download Perl 5.12 from the nearest CPAN mirror or from http://search.cpan.org/dist/perl-5.12.0/. Likewise, ActivePerl 5.12 can be downloaded here.

"We see a continued interest in all dynamic languages and this is true of Perl. Some of ActiveState's largest enterprise customers are heavy ActivePerl users, whether for mission-critical systems, or system administration tasks," said ActiveStates' Jeff Hobbs. "With the release of 5.12, ActiveState, as well as the Perl developer community, is showing continued commitment to the development and adoption of Perl as a critical enterprise-grade dynamic language."

Notable changes in Perl 5.12 include:

  • Perl now conforms much more closely to the Unicode standard. Additionally, this release includes an upgrade to version 5.2 of the standard.
  • New experimental APIs allow developers to extend Perl with "pluggable" keywords and syntax.
  • Perl now has a better sense of time and will be able to keep accurate time well past the "Y2038" barrier.
  • New syntax allows developers to specify package version numbers directly in "package" statements
  • Perl now warns the user about the use of deprecated features by default.

Notable updates in ActivePerl 5.12 include:

  • Perl's time functions work beyond the year 2038: With previous versions of Perl for 32-bit Unix systems, it could only represent dates up to the year 2038, after which it wraps around back to 1970. It is especially important for financial services organizations that use Perl for applications such as mortgage and insurance contracts that run for 30 years or longer. This has been updated within the internal functions of 32-bit Perl 5.12
  • Improved Unicode support: Perl now supports all Unicode properties for developers doing globalization work in multiple languages. It includes all the synonyms, loose spelling rules for property names and values, and other areas that have been brought in sync with the corresponding Unicode specification.
  • Support for pluggable keywords: Extension modules can now cleanly hook into the Perl parser to define new kinds of keyword-headed expressions and compound statements. The syntax following the keyword is defined entirely by the extension. This feature facilitates the development of domain specific languages (DSLs) within Perl by allowing a completely non-Perl sub-language to be parsed inline, with the correct ops cleanly generated. This feature is experimental and may be removed.

A complete list of Perl 5.12 changes can be found here. A current list of known issues with Perl 5.12.0 is available here.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 

Video