---
title: "You tell it that it's indicative by appending $!. That's why we made … — Larry Wall Quote #115 | QuotesBy.net"
description: "You tell it that it's indicative by appending $!. That's why we made $! such a short variable name, after all. :-) — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # You tell it that it's indicative by appending $!. That's why we made $! such a short variable name, after all. :-)

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

[Perl](https://quotesby.net/Larry-Wall/perl/)[Naming](https://quotesby.net/Larry-Wall/naming/)[Error](https://quotesby.net/Larry-Wall/error/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CYou%20tell%20it%20that%20it%27s%20indicative%20by%20appending%20%24%21.%20That%27s%20why%20we%20made%20%24%21%20such%20a%20short%20variable%20name%2C%20after%20all.%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F115%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CYou%20tell%20it%20that%20it%27s%20indicative%20by%20appending%20%24%21.%20That%27s%20why%20we%20made%20%24%21%20such%20a%20short%20variable%20name%2C%20after%20all.%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F115%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F115%2F)

## About this quote

What does it mean?He explains that the variable $! signals an error condition, and its short name reflects that purpose.In plain termsAppending $! marks an error; the name is short on purpose.What can you take from it?Use concise variable names for common signals.

### Where it applies

- writing Perl scripts
- debugging code

### Putting it to work

- check $! after system calls
- keep variable names meaningful

### Questions to consider

- How does $! differ from other error indicators?
- When should you rely on $!?

### Another view

Only applies to Perl; not universal.

## More from Larry Wall

1. > Well, that's more-or-less what I was saying, though obviously addition is a little more cosmic than the bitwise operators.

[Permalink to quote \#114](https://quotesby.net/Larry-Wall/114/ "Permalink to quote 114")
2. > The choice of approaches could be made the responsibility of the programmer.

[Permalink to quote \#116](https://quotesby.net/Larry-Wall/116/ "Permalink to quote 116")
3. > How do Crays and Alphas handle the POSIX problem?

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

## Related quotes

1. > Anyway, my money is still on use strict vars . . .

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#131](https://quotesby.net/Larry-Wall/131/ "Permalink to quote 131")
2. > A wise man's kingdom is his own breast: or, if he ever looks farther, it will only be to the judgment of a select few, who are free from prejudices, and capabl…

[David Hume](https://quotesby.net/David-Hume)[David Hume quote \#1](https://quotesby.net/David-Hume/1/ "Permalink to quote 1")
3. > Truth lies within a little and certain compass, but error is immense.

[Henry, 1st Viscount Bolingbroke St John](https://quotesby.net/Henry,-1st-Viscount-Bolingbroke-St-John)[Henry, 1st Viscount Bolingbroke St John quote \#1](https://quotesby.net/Henry,-1st-Viscount-Bolingbroke-St-John/1/ "Permalink to quote 1")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "You tell it that it's indicative by appending $!. That's why we made $! such a short variable name, after all. :-)",
    "url": "https://quotesby.net/Larry-Wall/115/",
    "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 #115",
            "item": "https://quotesby.net/Larry-Wall/115/"
        }
    ]
}
```
