{
  "id": 19640443,
  "title": "93% of paint splatters are valid Perl programs!",
  "url": "https://urgent.news/2026/11/12/93-of-paint-splatters-are-valid-perl-programs",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-12T11:00:32.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/mgobea/93-of-paint-splatters-are-valid-perl-programs-koi"
  },
  "original_language": "en",
  "account": "The study titled \"The Entropy of Syntax: An Analysis of Perl's Lexical Permissiveness\" explores the intriguing claim that 93% of random paint splatters can be considered valid Perl programs. This provocative finding challenges conventional beliefs about programming language syntax and validation. In Perl, the language's design philosophy prioritizes flexibility, famously encapsulated by the adage \"There's More Than One Way To Do It\" (TMTOWTDI), allowing for a high degree of syntactic leniency. Unlike languages that enforce strict grammar rules, Perl's parser is highly forgiving, enabling a vast range of input strings to be interpreted as valid code. This is achieved through Perl's unique approach to parsing, which attempts to construct a valid Abstract Syntax Tree from any sequence of tokens, provided basic requirements such as balanced blocks and quotes are met. The analysis reveals that the high success rate of random strings being interpreted as valid Perl is due to the language's tolerant treatment of identifiers, symbols, and expressions. Even when random noise is introduced, the probability of these sequences aligning with Perl's grammar is significant enough to qualify them as valid scripts. The phenomenon underscores a trade-off in language design between expressiveness and safety, highlighting Perl's focus on developer productivity and text processing capabilities.",
  "summary": "The Entropy of Syntax: An Analysis of Perl's Lexical Permissiveness The proposition that 93% of random paint splatters constitute valid Perl programs is a provocative study in the intersection of computability, language design, and extreme syntactic flexibility. This claim, originating from a presentation at SIGBOVIK 2019, challenges traditional notions of how programming languages delimit their…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 2,
    "also_reported_by": [
      {
        "outlet": "Hacker News",
        "title": "93% of Paint Splatters Are Valid Perl Programs (2019)",
        "url": "https://urgent.news/2026/11/11/93-of-paint-splatters-are-valid-perl-programs-2019",
        "published": "2026-11-11T22:34:23.000Z"
      }
    ]
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}