fbpx
Wikipedia

Black Perl

"Black Perl" is a code poem written using the Perl programming language. It was posted anonymously to Usenet on April 1, 1990,[1] and is popular among Perl programmers[citation needed] as a piece of Perl poetry. Written in Perl 3, the poem is able to be executed as a program.

Black Perl has been discussed in several scholarly works,[2][3][4] and is considered an example of generative literature, a genre of electronic literature.

Attribution edit

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

Result of program execution edit

When executed, Black Perl exits on line one, upon reaching the function 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, multiple independent updates to Black Perl to make it parsable in Perl 5 have been published.[6][7]

"Black Perl" edit

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 edit

References edit

  1. ^ a b Wall, Larry; Christiansen, Tom; Orwant, Jon (July 2000). Programming Perl, Third Edition. O'Reilly. p. 649. ISBN 0-596-00027-8.
  2. ^ Segura, Cynthia Anne (2004). Perls of wisdom: Computer language and Perl poetry (Thesis). ProQuest 305162869.[page needed]
  3. ^ Kerr, Chris; Holden, Daniel (2023). "Optimizing Code for Performance: Reading ./code --poetry". In Korecka, Magdalena Elisabeth; Vorrath, Wiebke (eds.). Poetry and contemporary visual culture: = Lyrik und zeitgenössische Visuelle Kultur. Poetry in the digital age. Berlin: De Gruyter. p. 172. ISBN 978-3-11-129933-4.
  4. ^ Tomasula, Steve (30 December 2014). "Our Tools Make Us (And Our Literature) Post: Essai édité par Jean-Yves Pellegrin (Université Paris-Sorbonne)". Transatlantica (2). doi:10.4000/transatlantica.7102.
  5. ^ Sharon Hopkins (1993-04-16). "Re: Forking a bunch of processes..." Newsgroup: comp.lang.perl. Usenet: 1993Apr16.233742.21214@cheshire.oxy.edu. Retrieved December 5, 2014.
  6. ^ jonadab (2003-02-21). "Black Perl updated for Perl 5". Retrieved 2007-09-15.
  7. ^ Ovid (2006-10-17). "Black Perl Revisited". Retrieved 2007-09-15.

black, perl, confused, with, black, pearl, code, poem, written, using, perl, programming, language, posted, anonymously, usenet, april, 1990, popular, among, perl, programmers, citation, needed, piece, perl, poetry, written, perl, poem, able, executed, program. Not to be confused with Black Pearl Black Perl is a code poem written using the Perl programming language It was posted anonymously to Usenet on April 1 1990 1 and is popular among Perl programmers citation needed as a piece of Perl poetry Written in Perl 3 the poem is able to be executed as a program Black Perl has been discussed in several scholarly works 2 3 4 and is considered an example of generative literature a genre of electronic literature Contents 1 Attribution 2 Result of program execution 3 Black Perl 4 See also 5 ReferencesAttribution editWhen posted to the comp lang perl newsgroup the poem was attributed to a person who wishes to remain anonymous 1 Sharon Rauenzahn nee Hopkins another Perl poet has been suspected to be the author but has since denied the claim 5 Result of program execution editWhen executed Black Perl exits on line one upon reaching the function 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 multiple independent updates to Black Perl to make it parsable in Perl 5 have been published 6 7 Black Perl editBEFOREHAND close door each window amp 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 amp listen listening wait sort the flock then warn the goats amp 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 amp half a time amp close it select quickly amp warn your next victim AFTERWORDS tell nobody wait wait until time wait until next year next decade sleep sleep die yourself die at lastSee also editDigital poetry PerlMonksReferences edit a b Wall Larry Christiansen Tom Orwant Jon July 2000 Programming Perl Third Edition O Reilly p 649 ISBN 0 596 00027 8 Segura Cynthia Anne 2004 Perls of wisdom Computer language and Perl poetry Thesis ProQuest 305162869 page needed Kerr Chris Holden Daniel 2023 Optimizing Code for Performance Reading code poetry In Korecka Magdalena Elisabeth Vorrath Wiebke eds Poetry and contemporary visual culture Lyrik und zeitgenossische Visuelle Kultur Poetry in the digital age Berlin De Gruyter p 172 ISBN 978 3 11 129933 4 Tomasula Steve 30 December 2014 Our Tools Make Us And Our Literature Post Essai edite par Jean Yves Pellegrin Universite Paris Sorbonne Transatlantica 2 doi 10 4000 transatlantica 7102 Sharon Hopkins 1993 04 16 Re Forking a bunch of processes Newsgroup comp lang perl Usenet 1993Apr16 233742 21214 cheshire oxy edu Retrieved December 5 2014 jonadab 2003 02 21 Black Perl updated for Perl 5 Retrieved 2007 09 15 Ovid 2006 10 17 Black Perl Revisited Retrieved 2007 09 15 Retrieved from https en wikipedia org w index php title Black Perl amp oldid 1202516488, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.