Perl Golf Apocalypse

123pages on
this wiki
Add New Page
Talk2 Share
Programmer's Wiki
This page has been moved to the Programmer's Wiki.
Please do not make any changes or additions to this page.

Any modifications, if still appropriate, should be made on Perl Golf Apocalypse at the Programmer's Wiki.

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 linkEdit

Smallwikipedialogo.png This page uses content from Wikipedia. The original article was at Perl Golf Apocalypse. The list of authors can be seen in the page history. As with ProgrammingWiki, the text of Wikipedia is available under the GNU Free Documentation License.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.