in reply to Re: Re: use vs. require in string eval?
in thread use vs. require in string eval?
I was under the impression that the module being discussed was going to run the eval "require $foo" statement many times, even for modules it had already loaded. Looking at the code, it actually only does it once when you add a new type, so it is acting more like your benchmark than mine.