santhosh_89 has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Module load time issue
by FalseVinylShrub (Chaplain) on Oct 29, 2009 at 06:23 UTC | |
|
Re: MODULE LOAD TIME ISSUE
by cdarke (Prior) on Oct 29, 2009 at 08:30 UTC | |
|
Re: MODULE LOAD TIME ISSUE
by Anonymous Monk on Oct 29, 2009 at 05:51 UTC |