Language Perl
(bottled version)
Date: | 05/17/05 |
Author: | Christopher J. Carlson |
URL: | n/a |
Comments: | 7 |
Info: | n/a |
Score: | ![]() |
# Copyright 2001 Christopher J. Carlson <cjc@dobbz.com> # All Rights Reserved $a= "cpuu \bmft p \bg cff \bs";$b ="po ui \bf xbm \bm";$c=" Ypv ublf p \bof epxo qb \btt ju bspvoe"; $a =~ s/\n//;$a =~ s/\s+/ /g; $b =~ s/\n// ; $b =~ s/\s+/ /g;$c =~ s/\n// ; $c =~ s/\s+/ /g;$a =~ y/b-z/a-z/;$b =~ tr/b-z/a-z/;$c =~ tr/b-z/a-z/ ; for( $d=100;$d>0;$d--){ print"$d $a $b $d" ;print" $a,\n$c, " ;print($d-1);print " $a $b.\n";} $x = "cjc"; $y="dobbz"; $z="com";print"\n" ;print "- $x\@$y." ;print"$z \n\n";
Download Source | Write Comment
Alternative Versions
Version | Author | Date | Comments | Rate |
---|---|---|---|---|
bottled by Acme::EyeDrops | Andrew Savige | 06/04/05 | 76 | ![]() ![]() |
for signature | Randolph Chung, Joey Hess | 04/20/05 | 0 | ![]() ![]() |
standard version | Jim Menard | 04/20/05 | 2 | ![]() ![]() |
Lingua::EN::Inflect | Marty Pauley | 04/20/05 | 1 | ![]() ![]() |
minimal version | Mark Sheppard | 06/01/05 | 1 | ![]() ![]() |
object-oriented version | Scott Bryce | 05/15/05 | 1 | ![]() ![]() |
polyglot | Jeff Connelly | 04/20/05 | 0 | ![]() ![]() |
BigInt | Anonymous | 04/20/05 | 0 | ![]() ![]() |
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments
kudos to both then!
Previous notes are correct and I have to add the the last row in the countdown should not be "You take one down pass it around, 0 bottles of beer on the wall." but "Take one down and pass it around, no more bottles of beer on the wall.".
It misses the last two verses as well, but almost all versions I saw do that.