See if this is any help: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/78458 although it's more an academic exercise in understanding continuations rather than something you'd actually want to use in practice. Regards, Brian,