I'm working with CGI::Application
If I have a cgiapp MyModule using 10 plugins, and each in turn has a
package Plugin;
use CGI::Application;
# or
use base 'CGI::Application';
# or
require CGI::Application;
In addition of course to MyModule using cgiapp as base.. How much is this a slowdown? I do understand that making a require call, this is a runtime action that simply does a hash lookup- no problem.. but what about 'use' and 'use base' at compile time.. if there are multiple calls (for the same package, from different packages)?
If I have 10 calls to require code at runtime, I understand this is fine. If I have 10 calls to 'use' in various modules (same namespace definition).. how much of a hit is that for the interpreter?