Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Applications
    • Applications
    • Development
    • IT Management

    Perl 6 Further Widens Language Use

    Written by

    Peter Coffee
    Published March 6, 2006
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Formerly the priestly language of Webmasters incantations, Perl is being adopted across a broadening spectrum of tasks. Perl 6, a major re-engineering of the Perl technology, promises to preserve Perls legendary productivity in simple tasks while being built on a formal specification.

      The result, its hoped, will prove more suitable for construction of complex and even mission-critical systems, while also appealing to a new generation of developers who have been raised on a diet of object-based languages running in multithreaded environments.

      /zimages/4/28571.gifClick here to read about a survey that found a 20 percent drop in Perl usage abroad.

      The Perl 6 Web site at dev. perl.org/perl6 is forthright about the need for possibly disruptive change. “The internals of the version 5 interpreter are so tangled that they hinder maintenance, thwart some new feature efforts, and scare off potential internals hackers,” that sites lead statement concedes.

      Perl 6 will recognize and execute Perl 5 code, but it will also open new doors to developers with features including strong typing of data, provisions for metadata and a substantial cleanup of the languages distinctive pattern-matching capabilities.

      Without changing the basic nature and mission of the language, Perl development leader Larry Wall nonetheless warned the Perl community at the end of 2004 in a communiqué on the topic of patterns that “the Perl 6 approach is to break everything that needs breaking all at once.”

      With development releases of Perl 6 expected to emerge this year, and perhaps a production release by around this time next year, its appropriate for developers to start familiarizing themselves with the benefits and the costs of Perl 6 adoption.

      There wont be a cold cutover to the new ways: Perl 5 wont be going away any time soon. Perl 5.8 continues to be the main branch in active use, supported by a still-flowing stream of resources such as the mid-2005 fourth edition of OReilly Medias “Learning Perl” from authors Randal Schwartz, Tom Phoenix and Brian Foy.

      Summarizing Perls strengths, those authors assert that the language is “easy, nearly unlimited, mostly fast, and kind of ugly.” All those attributes, they emphasize, come with qualifications. Ease of use, they particularly warn, has gotten far more weight in Perls design than ease of learning—in the same way that colloquial English, with its idioms and contractions, is far more concise but takes much more time to learn than the formal language taught to nonnative speakers.

      Damian Conway, principal of the Australia-based training consultancy Thoughtstream and an associate professor at Monash University in Melbourne, is an active member of the Perl 6 effort. The changing user base of Perl, he told eWEEK Labs in an e-mail exchange late last month, is an important driver in its development.

      “Perl seems to have originally been aimed at sysadmins, toolsmiths, system programmers, and DBAs,” he said. “That heritage is still evident in its large variety of built-in commands: Not many other languages have primitives for controlling sockets, database access, signals or networking.”

      User communities, Conway continued, are found in such diverse disciplines as document management, chip design, bioinformatics, finance, genealogy and application prototyping. “Weve had to adjust our ideas,” he said, about the appropriate demarcation between core features and other capabilities.

      /zimages/4/28571.gifPerl format strings could be fertile ground for more targeted hacking, says columnist Larry Seltzer. Click here to read more.

      In addition to its reliance on idioms and implicit default behaviors, Perl can be intimidating to developers used to other languages that dont have as many different ways of doing any given task.

      “Perls overriding viewpoint is that a language should be flexible enough to allow you to write code the way you [or your team] prefer,” said Conway, with forms that range from readily understandable to densely concise.

      That flexibility is all to the good when Perl is used for ephemeral utility tasks, but it requires team discipline on larger and longer-lived efforts. “There are at least two dozen ways to write a case statement in Perl,” said Conway, “but it would be confusing and unmaintainable to use more than one of them in a given piece of code.”

      Making Perl more useful in the future without making it any less useful to those who have made it popular today is a community process thats hard to summarize—but that promises to soon bring forth usable new options for developers.

      /zimages/4/28571.gifCheck out eWEEK.coms for the latest news, reviews and analysis in programming environments and developer tools.

      Peter Coffee
      Peter Coffee
      Peter Coffee is Director of Platform Research at salesforce.com, where he serves as a liaison with the developer community to define the opportunity and clarify developers' technical requirements on the company's evolving Apex Platform. Peter previously spent 18 years with eWEEK (formerly PC Week), the national news magazine of enterprise technology practice, where he reviewed software development tools and methods and wrote regular columns on emerging technologies and professional community issues.Before he began writing full-time in 1989, Peter spent eleven years in technical and management positions at Exxon and The Aerospace Corporation, including management of the latter company's first desktop computing planning team and applied research in applications of artificial intelligence techniques. He holds an engineering degree from MIT and an MBA from Pepperdine University, he has held teaching appointments in computer science, business analytics and information systems management at Pepperdine, UCLA, and Chapman College.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.