Perl Golf Apocalypse

Perl Golf Apocalypse

Perl Golf Apocalypse (PGA) is a Perl coding competition with the objective of solving a basic programming task with the smallest perl code possible. The competition has its roots in the newsgroup comp.lang.perl.misc which had threads where each poster tried to solve a basic problem with shorter code than the previous post. This was called "Perl Golf" because in both Perl and physical golf the goal is to finish with the fewest (key)strokes.

A total of 10 teams participate in the competition with each team comprising up to 3 perl hackers. Each team is provided a computer to solve a set of simple problems by writing a short piece of Perl code. The submitted code is then tested and compared to the answers from the other teams. Altogether, the competition has 9 problems (akin to 9 holes in Golf) to solve. Each problem is simultaneously given to the teams and carries a specified time limit for solving. At the completion of first 4 problems the 5 lowest scoring teams are removed from the competition. A team gets 1 point if it correctly solves the problem, 6 more points if it solves with the fewest keystrokes (5 and 4 extra points for the first and second runners up) and 3 more points if it was the earliest to submit. Thus a team can earn a maximum of 10 points on one hole. After all the 9 problems are solved, the teams will be ranked by score from highest to lowest and the highest scoring team is declared the winner.

External links

* [http://www.perlmonks.org/index.pl?node_id=21442 First Annual Perl Golf Apocalypse]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Perl — This article is about the programming language. For other uses, see Perl (disambiguation). Perl Paradig …   Wikipedia

  • Code golf — An example round of code golf running on 4clojure.com, showing the problem expressed as a series of unit tests, special requirements for the round s problem, and a results graph (the league ) with a personal score. Code golf is a type of computer …   Wikipedia

  • PERL — Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle  …   Deutsch Wikipedia

  • Perl (Programmiersprache) — Perl Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle Version …   Deutsch Wikipedia

  • Programmiersprache Perl — Perl Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle  …   Deutsch Wikipedia

  • PGA — is an initialism that can stand for: Chemistry * 3 phosphoglycerate, another name for glycerate 3 phosphate (often used when referring to the Calvin cycle) * Poly glutamic acid, a polymer of the glutamic acid (one of standard amino acids) *… …   Wikipedia

  • Tim Towtdi — Perl Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle  …   Deutsch Wikipedia

  • Timtowtdi — Perl Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle  …   Deutsch Wikipedia

  • Tmtowtdi — Perl Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle  …   Deutsch Wikipedia

  • Список игр на SNES — Список игр для Super Nintendo Entertainment System. # A B C D E F G H I J K L M N O P Q R S T U V W X Y Z …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”