Skip to content

The Effective Perler

Effective Perl Programming – write better, more idiomatic Perl

  • TOC
  • Errata
  • About

Category: book

Eliminate needless loops and branching

On Stackoverflow, there’s the question How can I convert a number to its multiple form in Perl?. The best answer for the particular problem is Number::Bytes::Human. Beyond, that, many of the answers take the usual if-elsif-else, such as the one suggested by Michael Cramer: Continue reading “Eliminate needless loops and branching”

Author brian d foyPosted on January 8, 2010May 12, 2022Categories item, perl, subroutines

Posts navigation

Previous page Page 1 … Page 19 Page 20
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