"Zach Dennis" <zdennis / mktec.com> schrieb im Newsbeitrag news:41FFD612.4020901 / mktec.com... > Since Navindra wanted to know how-to handle java-like imports I've blogged > my solution which allows: > > require 'mypackage.subpackage.file' > require 'mypackage.*' > > to be used. So check it out if this you're interested... > > http://blog.mktec.com/zdennis/ruby some remarks: I'd change "what.gsub!( /\./, '/' )" into "what = what.gsub( /\./, '/' )" in order to not fiddle with the argument (could be frozen after all). Is it possible that your regexp should've read "if( what =~ /^(.*)\.\*$/ )" (main issue the missing "\.")? Kind regards robert