I tried to submit but unfortunately the page is not being updated
anymore, and is being hosted by a mirror site (not by the author of the
page it seems). My script is at
http://www.cs.uct.ac.za/~flifson/things/Ruby/beer.rb . I decided to make
it all elegant and OO instead of writing a 5 line script which does the
same thing. Let me know what you think.

Farrel Lifson
-- 
DNA Research Group             mailto:flifson / cs.uct.ac.za
Dept. of Computer Science      http://www.cs.uct.ac.za/~flifson
University of Cape Town        +27-21-650-3127