Skip to content
quotesby

About this quote

What does it mean?
Perl’s modules tend to be multi‑purpose rather than single‑purpose.
In plain terms
Perl tools usually do many things.
What can you take from it?
Expect Perl code to be flexible.

Where it applies

  • writing scripts
  • maintaining code

Putting it to work

  • reuse functions across tasks

Questions to consider

  • How does this affect code readability?

Another view

Multi‑purpose design can lead to complexity.

More from Larry Wall

  1. Are you perchance running on a 64-bit machine?

    Permalink to quote #173
  2. There's some entertainment value in watching people juggle nitroglycerin.

    Permalink to quote #175
  3. If this were Ada, I suppose we'd just constant fold 1/0 into die 'Illegal division by zero

    Permalink to quote #172

Related quotes

  1. Of course, I reserve the right to make wholly stupid changes to Perl if I think they improve the language. :-)

    Larry WallLarry Wall quote #76
  2. Perl will always provide the null.

    Larry WallLarry Wall quote #179
  3. If you try to solve a hard problem, the question is not whether you will use a powerful enough language, but whether you will (a) use a powerful language, (b) …

    Paul GrahamPaul Graham quote #5