---
title: "Randal said it would be tough to do in sed. He didn't say he didn't u… — Larry Wall Quote #20 | QuotesBy.net"
description: "Randal said it would be tough to do in sed. He didn't say he didn't understand sed. Randal understands sed quite well. Which is why he uses Perl. :-) — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # Randal said it would be tough to do in sed. He didn't say he didn't understand sed. Randal understands sed quite well. Which is why he uses Perl. :-)

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

[Perl](https://quotesby.net/Larry-Wall/perl/)[Complexity](https://quotesby.net/Larry-Wall/complexity/)[Choice](https://quotesby.net/Larry-Wall/choice/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CRandal%20said%20it%20would%20be%20tough%20to%20do%20in%20sed.%20He%20didn%27t%20say%20he%20didn%27t%20understand%20sed.%20Randal%20understands%20sed%20quite%20well.%20Which%20is%20why%20he%20uses%20Perl.%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F20%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CRandal%20said%20it%20would%20be%20tough%20to%20do%20in%20sed.%20He%20didn%27t%20say%20he%20didn%27t%20understand%20sed.%20Randal%20understands%20sed%20quite%20well.%20Which%20is%20why%20he%20uses%20Perl.%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F20%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F20%2F)

## About this quote

What does it mean?Randal finds sed tough, but understands it, so he prefers Perl for complex tasks.In plain termsEven if you understand a tool, choose a better one for hard jobs.What can you take from it?Pick the language that fits the problem.

### Where it applies

- text manipulation
- scripting

### Putting it to work

- use Perl for complex regex
- avoid forcing sed

### Questions to consider

- When is it worth switching tools?
- How do you balance expertise vs. suitability?

### Another view

Switching tools adds learning overhead.

## More from Larry Wall

1. > Perl programming is an \*empirical\* science!

[Permalink to quote \#19](https://quotesby.net/Larry-Wall/19/ "Permalink to quote 19")
2. > Real programmers can write assembly code in any language. :-)

[Permalink to quote \#21](https://quotesby.net/Larry-Wall/21/ "Permalink to quote 21")
3. > Let us be charitable, and call it a misleading feature :-)

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

## Related quotes

1. > The wonderful thing about standards is that there are so many of them to choose from.

[Grace Hopper](https://quotesby.net/Grace-Hopper)[Grace Hopper quote \#11](https://quotesby.net/Grace-Hopper/11/ "Permalink to quote 11")
2. > Dan Smith: I've tried (in vi) 'g/\[a-z\] \[a-z\]/s//\_/'...but that doesn't cut it. Any ideas? (I take it that it may be a two-pass sort of solution). Larry Wall: I…

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#16](https://quotesby.net/Larry-Wall/16/ "Permalink to quote 16")
3. > : But for some things, Perl just isn't the optimal choice. (yet) :-)

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

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "Randal said it would be tough to do in sed. He didn't say he didn't understand sed. Randal understands sed quite well. Which is why he uses Perl. :-)",
    "url": "https://quotesby.net/Larry-Wall/20/",
    "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 #20",
            "item": "https://quotesby.net/Larry-Wall/20/"
        }
    ]
}
```
