---
title: "print rand rand rand 1, ' '; # interesting distribution — Larry Wall Quote #192 | QuotesBy.net"
description: "print rand rand rand 1, ' '; # interesting distribution — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # print rand rand rand 1, ' '; # interesting distribution

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

[Perl](https://quotesby.net/Larry-Wall/perl/)[Coding](https://quotesby.net/Larry-Wall/coding/)[Statistics](https://quotesby.net/topics/statistics/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9Cprint%20rand%20rand%20rand%201%2C%20%27%20%27%3B%20%23%20interesting%20distribution%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F192%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9Cprint%20rand%20rand%20rand%201%2C%20%27%20%27%3B%20%23%20interesting%20distribution%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F192%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F192%2F)

## About this quote

What does it mean?He shows a Perl one‑liner that prints random numbers, noting its odd distribution.In plain termsThe code prints random numbers with a strange pattern.What can you take from it?Simple code can hide unexpected behavior.

### Where it applies

- generating test data
- experimenting with randomness

### Putting it to work

- run statistical checks
- use proper RNG functions

### Questions to consider

- Why does this produce an odd distribution?
- How to verify randomness?

### Another view

The comment is vague about why the distribution is interesting.

## More from Larry Wall

1. > Y'know, there are other possibilities if we assume that filenames are UTF-8...yikes...wait, put down that meat cleaver! Aieeee!!!

[Permalink to quote \#191](https://quotesby.net/Larry-Wall/191/ "Permalink to quote 191")
2. > : I could understand principles of Perl source in 2-3 days \[. . .\] Gee, it took me about eleven years. :-)

[Permalink to quote \#193](https://quotesby.net/Larry-Wall/193/ "Permalink to quote 193")
3. > I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, 'What is that, swearing?

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

## Related quotes

1. > Perl has a long tradition of working around compilers.

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#95](https://quotesby.net/Larry-Wall/95/ "Permalink to quote 95")
2. > It's certainly easy to calculate the average attendance for Perl conferences.

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#134](https://quotesby.net/Larry-Wall/134/ "Permalink to quote 134")
3. > We went through the records and we found over five hundred of his patients who were alive and well five years after their treatment, with no cancer. And Dr. Bu…

[Gary Null](https://quotesby.net/Gary-Null)[Gary Null quote \#1](https://quotesby.net/Gary-Null/1/ "Permalink to quote 1")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "print rand rand rand 1, ' '; # interesting distribution",
    "url": "https://quotesby.net/Larry-Wall/192/",
    "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 #192",
            "item": "https://quotesby.net/Larry-Wall/192/"
        }
    ]
}
```
