Right? With of course an obvious problem that require 'xml' is
surely going to conflict with someone else - putting us back with
the same problem.
You may be presuming too much. Do a quick check, if nothing comes
back, let's use it (why not?).
*puts evil hat on* Here's another trick that we could use:
>> module LibXML; end
=> nil
>> b = false
=> false
>> ObjectSpace.each_object(Module) {|m| if m.name == 'LibXML'; b =
true; break; end }
=> nil
>> b
=> true
Since it's done behind a require, it should only get evaluated once. -
sc
--
Sean Chittenden
[EMAIL PROTECTED]
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel