1. Home
  2. Computing & Technology
  3. Perl
photo of Kirk Brown

Kirk's Perl Blog

By Kirk Brown, About.com Guide to Perl since 2005

Good Perl code is the best form of evangelism

Thursday April 17, 2008
Here is a clear re-factoring of a terrible Perl routine into good Perl. The author pulls a terrible example of a Perl routine from the Microsoft Scripting Games and proceeds to show how to rewrite it to be more succinct, clean and Perl-ish. All in all, a great example of real Perl style! Detractors of Perl often point to code that looks like the bad example in this article and talk about how ugly Perl is, but here Andy Lester shows us that Perl code can be pretty and functional. Typically it's the programmer, and not the language that is responsible for bad code.

Good Perl code is the best form of evangelism

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Perl

More from About.com

  1. Home
  2. Computing & Technology
  3. Perl

©2008 About.com, a part of The New York Times Company.

All rights reserved.