CrossNodes: Scripting Clinic: Slice and Dice Text with Perl | Linux Today

CrossNodes: Scripting Clinic: Slice and Dice Text with Perl

Written By
CS
Carla Schroder
Jul 11, 2004

“No no, don’t run away just because I said ‘Perl!’ Perl is a
really nice scripting language, don’t be afraid. Pretend you have
never been abused by mean people on the Perl mailing lists. Pretend
that you have never looked at a long, complex Perl program and
wondered if it was really a program, or a random collection of
characters generated as a practical joke. The key to using Perl
effectively is to focus on two basic principles:

  • “Learn a few basic Perl tools well. You can do a lot with a
    little in Perl. Don’t worry about the show-offs who flaunt their
    strange, arcane Perl knowledge, just stay focused on the tasks you
    need to accomplish.
  • “Write your Perl code for clarity and human understanding. Some
    Perl geeks love to compete to write the most obfuscated code.
    You’re welcome to join in; but for writing easy-to-maintain
    scripts, clarity is the way to go…”

Complete
Story

CS

Carla Schroder

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 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.