Language Perl
(Lingua::EN::Inflect)
Date: | 04/20/05 |
Author: | Marty Pauley |
URL: | n/a |
Comments: | 1 |
Info: | n/a |
Score: | ![]() |
#!/usr/bin/perl # Marty Pauley sings "99 bottles of beer" use Lingua::EN::Inflect 'inflect'; print inflect(<<"SING") for (reverse(1 .. 99)); NO(bottle,$_) of beer on the wall, NO(bottle,$_) of beer, Take one down and pass it around, NO(bottle,@{[$_-1]}) of beer on the wall. SING
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 | ![]() ![]() |
bottled version | Christopher J. Carlson | 05/17/05 | 7 | ![]() ![]() |
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