---
title: "last|perl -pe '$_ x=/(..:..)...(.*)/&&$1ge$1&&$1lt$2' That's gonna be… — Larry Wall Quote #38 | QuotesBy.net"
description: "last|perl -pe '$_ x=/(..:..)...(.*)/&&$1ge$1&&$1lt$2' That's gonna be tough for Randal to beat... :-) — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # last\|perl -pe '$\_ x=/(..:..)...(.\*)/&amp;&amp;$1ge$1&amp;&amp;$1lt$2' That's gonna be tough for Randal to beat... :-)

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

[Programming](https://quotesby.net/Larry-Wall/programming/)[Perl](https://quotesby.net/Larry-Wall/perl/)[Challenge](https://quotesby.net/topics/challenge/)[Competition](https://quotesby.net/topics/competition/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9Clast%7Cperl%20-pe%20%27%24_%20x%3D%2F%28..%3A..%29...%28.%2A%29%2F%26%26%241ge%241%26%26%241lt%242%27%20That%27s%20gonna%20be%20tough%20for%20Randal%20to%20beat...%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F38%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9Clast%7Cperl%20-pe%20%27%24_%20x%3D%2F%28..%3A..%29...%28.%2A%29%2F%26%26%241ge%241%26%26%241lt%242%27%20That%27s%20gonna%20be%20tough%20for%20Randal%20to%20beat...%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F38%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F38%2F)

## About this quote

What does it mean?A complex Perl one-liner is challenging to outdo, especially for a rival.In plain termsThat Perl one-liner is hard to beat.What can you take from it?Complex one-liners showcase Perl's power.

### Where it applies

- code golf
- algorithmic puzzles

### Putting it to work

- study the one-liner
- experiment with variations

### Questions to consider

- What makes a one-liner elegant?
- When is readability more important than cleverness?

### Another view

Obscure one-liners can be hard to maintain.

## More from Larry Wall

1. > Just don't create a file called -rf. :-)

[Permalink to quote \#37](https://quotesby.net/Larry-Wall/37/ "Permalink to quote 37")
2. > No, I'm not going to explain it. If you can't figure it out, you didn't want to know anyway... :-)

[Permalink to quote \#39](https://quotesby.net/Larry-Wall/39/ "Permalink to quote 39")
3. > I won't mention any names, because I don't want to get sun4's into trouble... :-)

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

## 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")
3. > 'Undertaker, do you think you impress The Rock by coming out here with your little Undertaker symbol and claim to steal the souls of all those jabronis? Do you…

[The Rock](https://quotesby.net/The-Rock)[The Rock quote \#8](https://quotesby.net/The-Rock/8/ "Permalink to quote 8")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "last|perl -pe '$_ x=/(..:..)...(.*)/&&$1ge$1&&$1lt$2' That's gonna be tough for Randal to beat... :-)",
    "url": "https://quotesby.net/Larry-Wall/38/",
    "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 #38",
            "item": "https://quotesby.net/Larry-Wall/38/"
        }
    ]
}
```
