---
title: "Almost nothing in Perl serves a single purpose. — Larry Wall Quote #174 | QuotesBy.net"
description: "Almost nothing in Perl serves a single purpose. — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # Almost nothing in Perl serves a single purpose.

[Larry Wall](https://quotesby.net/Larry-Wall)\#174

[Programming](https://quotesby.net/Larry-Wall/programming/)[Perl](https://quotesby.net/Larry-Wall/perl/)[Software](https://quotesby.net/Larry-Wall/software/)[Programming language](https://quotesby.net/Larry-Wall/programming-language/)[Software design](https://quotesby.net/Larry-Wall/software-design/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CAlmost%20nothing%20in%20Perl%20serves%20a%20single%20purpose.%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F174%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CAlmost%20nothing%20in%20Perl%20serves%20a%20single%20purpose.%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F174%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F174%2F)

## About this quote

What does it mean?Perl’s modules tend to be multi‑purpose rather than single‑purpose.In plain termsPerl 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](https://quotesby.net/Larry-Wall/173/ "Permalink to quote 173")
2. > There's some entertainment value in watching people juggle nitroglycerin.

[Permalink to quote \#175](https://quotesby.net/Larry-Wall/175/ "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](https://quotesby.net/Larry-Wall/172/ "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 Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#76](https://quotesby.net/Larry-Wall/76/ "Permalink to quote 76")
2. > Perl will always provide the null.

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#179](https://quotesby.net/Larry-Wall/179/ "Permalink to 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 Graham](https://quotesby.net/Paul-Graham)[Paul Graham quote \#5](https://quotesby.net/Paul-Graham/5/ "Permalink to quote 5")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "Almost nothing in Perl serves a single purpose.",
    "url": "https://quotesby.net/Larry-Wall/174/",
    "spokenByCharacter": {
        "@type": "Person",
        "name": "Larry Wall"
    }
}
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://quotesby.net/"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Authors",
            "item": "https://quotesby.net/authors/"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Larry Wall",
            "item": "https://quotesby.net/Larry-Wall"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Quote #174",
            "item": "https://quotesby.net/Larry-Wall/174/"
        }
    ]
}
```
