Skip to content

The Effective Perler

Effective Perl Programming – write better, more idiomatic Perl

  • TOC
  • Errata
  • About

Month: October 2014

Use a computed label with loop controllers

Not sure which loop you want to break out of? Perl v5.18 makes that easy with computed labels. The value you give next, last, and redo no longer has to be a literal. You could already do this with goto, but now you can give the loop controllers an expression. Continue reading “Use a computed label with loop controllers”

Author brian d foyPosted on October 25, 2014May 12, 2022Categories 5.18, miscellany
Effective Programming Perl book cover


Latest Items

  • Perl v5.36 new features
  • Goodbye fake multidimensional data structures
  • switch removed from the v5.36 feature bundle
  • Know if something is a boolean

Topics

Archives

External Links

  • Amazon.com
  • publisher catalog page
  • InformIT page (book and PDF)
  • Safari Books Online
  • eBooks (PDF and ePub)
  • TOC
  • Errata
  • About
The Effective Perler Proudly powered by WordPress