in reply to Re: Benchmarking modules
in thread Benchmarking modules

use first does a require and then import at compile time. Through an eval you are making that a run-time affair to benchmark. Once the file has been loaded then require is essentially free. Therefore you are actually benchmarking how fast import is.

That timing is more important for mod_perl using Apache::Registry than it is for CGI.