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.


In reply to MODULE LOAD TIME ISSUE by santhosh_89

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.