Black Perl

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Black Perl is a famous piece of Perl poetry. It was posted to Usenet on April 1, 1990. It is written in Perl 3 and will not parse under Perl 5. Multiple independent updates to make it parsable in Perl 5 have been published.[1][2] The full text of the poem is reproduced below.

[edit] Attribution

While the poem itself is signed Larry Wall, the original message was posted with forged message headers, causing uncertainty of authorship. Sharon Rauenzahn née Hopkins has been suspected, but has denied authorship.[3] Randal Schwartz has claimed that Larry Wall is in fact the author,[4] and later on Larry Wall confirmed[5] that claim.

[edit] "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
# Larry Wall

[edit] References

  1. ^ jonadab (2003-02-21). "Black Perl updated for Perl 5". http://www.perlmonks.org/?node_id=237465. Retrieved 2007-09-15. 
  2. ^ Ovid (2006-10-17). "Black Perl Revisited". http://www.perlmonks.org/?node_id=578707. Retrieved 2007-09-15. 
  3. ^ Sharon Hopkins (1993-04-16). "Re: Forking a bunch of processes...". comp.lang.perl. (Web link). Retrieved 2007-09-15. 
  4. ^ Randal L. Schwartz (2001-09-04). "Re: Black Perl". comp.lang.perl.misc. (Web link). Retrieved 2007-09-15. 
  5. ^ "IRC conversation with Larry Wall (TimToady)". 2010-05-11. http://irclog.perlgeek.de/perl6/2010-05-11#i_2319752. Retrieved 2010-05-11. 
Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export