Black Perl
   HOME

TheInfoList



OR:

"Black Perl" is a code poem written using the
Perl Perl is a family of two high-level, general-purpose, interpreted, dynamic programming languages. "Perl" refers to Perl 5, but from 2000 to 2019 it also referred to its redesigned "sister language", Perl 6, before the latter's name was offic ...
programming language A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language. The description of a programming ...
. It was posted anonymously to
Usenet Usenet () is a worldwide distributed discussion system available on computers. It was developed from the general-purpose Unix-to-Unix Copy (UUCP) dial-up network architecture. Tom Truscott and Jim Ellis conceived the idea in 1979, and it wa ...
on April 1, 1990, and is popular among Perl programmers as a piece of Perl poetry. Written in Perl 3, the poem is able to be
executed Capital punishment, also known as the death penalty, is the state-sanctioned practice of deliberately killing a person as a punishment for an actual or supposed crime, usually following an authorized, rule-governed process to conclude that t ...
as a program.


Attribution

When posted to the comp.lang.perl newsgroup the poem was attributed to "a person who wishes to remain anonymous". Sharon Rauenzahn ( née Hopkins), another Perl poet, has been suspected to be the author but has since denied the claim.


Result of program execution

When executed, Black Perl exits on line one, upon reaching the functio
exit
The remaining lines are parsed by the Perl interpreter but never actually executed. The program produces no output. Though it will not parse under
Perl 5 Perl is a family of two high-level, general-purpose, interpreted, dynamic programming languages. "Perl" refers to Perl 5, but from 2000 to 2019 it also referred to its redesigned "sister language", Perl 6, before the latter's name was offic ...
, multiple independent updates to Black Perl to make it parsable in Perl 5 have been published.


"Black Perl"

BEFOREHAND: close door, each window & exit; wait until time. open spellbook, study, read (scan, select, tell us); write it, print the hex while each watches, reverse its length, write again; kill spiders, pop them, chop, split, kill them. unlink arms, shift, wait & listen (listening, wait), sort the flock (then, warn the "goats" & kill the "sheep"); kill them, dump qualms, shift moralities, values aside, each one; die sheep! die to reverse the system you accept (reject, respect); next step, kill the next sacrifice, each sacrifice, wait, redo ritual until "all the spirits are pleased"; do it ("as they say"). do it(*everyone***must***participate***in***forbidden**s*e*x*). return last victim; package body; exit crypt (time, times & "half a time") & close it, select (quickly) & warn your next victim; AFTERWORDS: tell nobody. wait, wait until time; wait until next year, next decade; sleep, sleep, die yourself, die at last


See also

*
Digital poetry Digital poetry is a form of electronic literature, displaying a wide range of approaches to poetry, with a prominent and crucial use of computers. Digital poetry can be available in form of CD-ROM, DVD, as installations in art galleries, in c ...
* PerlMonks


References

{{Reflist American poems Perl 1990 poems