From: ts Date: 2004-07-14T22:04:09+09:00 Subject: Re: No Subject >>>>> "J" == Jesse van den Kieboom writes: J> Hmm, I don't even know what an anonymous module is :) See rb_load_protect(VALUE name, int wrap, int *state) if `wrap' is true, ruby will create an anonymous module and will load the script in it. For example svg% cat b.rb #!/usr/bin/ruby def tt puts "tt" end svg% svg% ruby -e 'load("b.rb"); tt' tt svg% now in an anonymous module svg% ruby -e 'load("b.rb", true); tt' -e:1: undefined local variable or method `tt' for main:Object (NameError) svg% J> System threads. I don't use threading myself but GTK+ (or pango, I'm not J> sure) seems to thread. ruby don't really like system threads : try to avoid it if you can Guy Decoux