93% of Paint Splatters Are Valid Perl Programs (2019)

A humorous research paper presented at SIGBOVIK 2019 explores whether random paint splatters can be interpreted as valid Perl code. Using OCR software, the author determined that 93% of the splatters could be parsed as valid, albeit nonsensical, Perl programs.
Why it matters
It highlights the intersection of computer science, creative expression, and the often absurd nature of programming language syntax.
TLDR: read the paper and view the gallery of pretty Perl programs .
In this paper, we aim to answer a long-standing open problem in the programming languages community: is it possible to smear paint on the wall without creating valid Perl?
We answer this question in the affirmative: it is possible to smear paint on the wall without creating a valid Perl program. We employ an empirical approach, using optical character recognition (OCR) software, which finds that merely 93% of paint splatters parse as valid Perl. We analyze the properties of paint-splatter Perl programs, and present seven examples of paint splatters which are not valid Perl programs.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in