Perl vision gets sharper

 

Connecting state and local government leaders

Perl creator Larry Wall has ambitious plans for the next version of his language, but remains mum as ever on its release date.

PORTLAND, Ore.'Version 6 of the Perl will be the first truly extensible programming language, promised Perl creator Larry Wall during his annual "State of the Onion" speech at the O'Reilly Open Source Conference (OSCON), being held this week.

Other languages have claimed to be extensible, though they have all fallen short in one way or the other, Wall asserted. "No computer language has ever taken extensibility seriously. All languages fall into the one true syntax syndrome, and we want to escape that," he added.

For power users of this open source language, such extensibility could mean that they will be able to augment the language with instructions, syntax, expressions, operators and other features to meet their own needs. An office of the National Cancer Institute, for instance, could extend Perl to include features that could aid in medical research.

Initiated in 2000, version 6 of Perl is a total rewrite of this widely used programming language, one that has been called the 'duct tape of the Internet.'

Judging from Wall's presentation, Perl 6 could turn out to be one of the most permeable programming languages ever devised. Nothing in Perl 6 will be immutable. "Perl 6 has no core, no keywords, no built-in operators. Everything that looks like an operator is actually defined by some grammatical rule or by a macro or by something that is added in," Wall said.

The developers' hope is that individuals will use this extensibility and redesign Perl in new ways. "We do not know what language we want in 20 years, but we want it to be Perl," he said.

It should be noted that this ability customize will largely be hidden from those using the language for basic needs. "We're trying to keep Perl 6 so that you don't need to understand what the fancy things are doing until you need them," Wall said.

For those perhaps less than willing to alter the language itself, the standard edition of Perl 6 will also offer more traditional improvements to ease programming.

In a session held earlier in the week, Perl developer Damian Conway, along with Wall, offered a few late additions to the Perl 6 feature set, including some exciting developments in module management, and streamlining of regular expressions.

For instance, the naming scheme of new modules will include a placeholder to specify the version number of the module. This approach will allow multiple versions of a module to run simultaneously, Conway said. Also, from your program, you can designate which specific version of a module it should use.

Another new feature: Future versions of Perl 6 will be backward-compatible, at least back to version 6. A user can specify which version of Perl can run a particular Perl script. If the version of Perl being specified is older than the one being run, then the newer version will emulate the older version of Perl.

One of Perl's biggest strengths has always been its ability to work with regular expressions, the syntax used to match patterns of text. Some additional shortcuts have been added to simplify the creation of regex statements.

For instance, you can now include small functions within the expression. For instance, if you are looking for a long string of identical letters, but don't know how many, you can write the expression "z ** [get .max.rep()]," which will find the maximum number of serial z's, and then find such strings.

Another feature is the ability to find all of the unique abbreviations of a certain expression. Conway explained that some operating environments will allow you to abbreviate the names of programs or files, i.e. the name "executable," could be abbreviated as "exec," "execu," "execut," "executa," "executab," and "executabl."

Finding all the abbreviations for one word could be done in Perl 5, but "this is something that you can't easily do," Conway said. With Perl 6, a query like this "/exec
Other new features touted included a much more friendly set of error messages, as well a way to split up work into parallel so they may be executed simultaneously by multicore processors.

The developers, however, were less forthcoming with a final release date for the programming language. As in years past, Wall gave no indication of when Perl 6 would finally be released, noting that the language's volunteer designers do not make promises about the release date. He did say the project is making "steady progress."

In his presentation, Conway, noted that the vast majority of the changes now being committed are now either for documentation or to fix simple typos. One developer we spoke with proffered that this must surely mean that the official release of this volunteer-led effort is close at hand.

Wall relayed the now-familiar joke that Perl 6 would be out by Christmas. He just won't say which Christmas.

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.