---
title: "Perl is designed to give you several ways to do anything, so consider… — Larry Wall Quote #272 | QuotesBy.net"
description: "Perl is designed to give you several ways to do anything, so consider picking the most readable one. — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # Perl is designed to give you several ways to do anything, so consider picking the most readable one.

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

[Programming](https://quotesby.net/Larry-Wall/programming/)[Perl](https://quotesby.net/Larry-Wall/perl/)[Readability](https://quotesby.net/Larry-Wall/readability/)[Choice](https://quotesby.net/Larry-Wall/choice/)[Best practices](https://quotesby.net/Larry-Wall/best-practices/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CPerl%20is%20designed%20to%20give%20you%20several%20ways%20to%20do%20anything%2C%20so%20consider%20picking%20the%20most%20readable%20one.%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F272%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CPerl%20is%20designed%20to%20give%20you%20several%20ways%20to%20do%20anything%2C%20so%20consider%20picking%20the%20most%20readable%20one.%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F272%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F272%2F)

## About this quote

What does it mean?Perl offers many ways to achieve a task; choose the most readable one.In plain termsPick the clearest solution among many.What can you take from it?Prioritize readability over cleverness.

### Where it applies

- code reviews
- team projects

### Putting it to work

- favor straightforward syntax
- document chosen approach

### Questions to consider

- How do you balance readability with performance?
- When is a less readable trick justified?

### Another view

The most readable option may not be the most performant.

## More from Larry Wall

1. > Okay, that's definitely enough hype.

[Permalink to quote \#271](https://quotesby.net/Larry-Wall/271/ "Permalink to quote 271")
2. > Remember though that THERE IS NO GENERAL RULE FOR CONVERTING A LIST INTO A SCALAR.

[Permalink to quote \#273](https://quotesby.net/Larry-Wall/273/ "Permalink to quote 273")
3. > In general, they do what you want, unless you want consistency.

[Permalink to quote \#270](https://quotesby.net/Larry-Wall/270/ "Permalink to quote 270")

## Related quotes

1. > Although the Perl Slogan is There's More Than One Way to Do It, I hesitate to make 10 ways to do something. :-)

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#1](https://quotesby.net/Larry-Wall/1/ "Permalink to quote 1")
2. > And don't tell me there isn't one bit of difference between null and space, because that's exactly how much difference there is. :-)

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#2](https://quotesby.net/Larry-Wall/2/ "Permalink to quote 2")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "Perl is designed to give you several ways to do anything, so consider picking the most readable one.",
    "url": "https://quotesby.net/Larry-Wall/272/",
    "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 #272",
            "item": "https://quotesby.net/Larry-Wall/272/"
        }
    ]
}
```
