Hi Monks
I have a module called USER_DBI,It would be included following modules.
package USER_DBI;
use USER_DBI_Global; # 15 Lines code
BEGIN{
unshift(@INC, $USER_DBI_Global::INI_Module);
}
use Config::Abstract::Ini; ### CPAN Module
use Switch; ### CPAN
use USER_DBI_Parser; ### 1 sec 400 lines code
use USER_DBI_Lib; ### 2 sec 500 lines code
use USER_DBI_Log; ### 1 sec 400 Lines code
use USER_DBI_Database; ### 1 sec 300 lines code
While including the USER_DBI module,It is taking 4 sec to load those modules,I checked by benchmark module to get to know the load time.I wanted to use effective method can anyone help me.
Note:
Every Module has required functionality.Reducing the code size is not possible.Already it has optimized.