* Jason Bailey (Mar 06, 2005 22:20): > I'm new to ruby so this was quite a fun little thing to help me get up > to speed on what you can do with the language. > > since this quite small and simple I've attached it. Very nice. Time for a shameless plug: For the arabic-to-roman case, one could have done require 'lisp/format';$stdin.each{|l|Lisp.format("~@R",l.to_i)} But the Lisp module isn't part of the standard library..., nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}