Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Perl: the Markov chain saw
 
PerlMonks  

Max Modules?

by Zecho (Hermit)
on Sep 30, 2001 at 09:50 UTC ( [id://115713]=perlquestion: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

Zecho has asked for the wisdom of the Perl Monks concerning the following question:

Kind of an odd thought... Are there any reasons to be concerned with the number of perl modules I have installed at any given time? I remember back when I used Windows, if you loaded too many fonts it'd cause serious problems (I'm sure this has been fixed). Not that I'm comparing modules to fonts, but are there any concerns as far as loading/parsing speed if there are a ton of modules installed? Or anything else I should be aware of?

Replies are listed 'Best First'.
Re: Max Modules?
by C-Keen (Monk) on Sep 30, 2001 at 10:03 UTC
    Short answer: No.
    Long answer: Perl uses the modules, e.g. loading it into memory, parsing and compiling it, when you need them. So just by having them installed on your computer, which is basically nothing other than having it copied to a place where the perl interpreter will find it, you will not experience any problems with running your system or the perl progam.

    Regards,
    C-Keen

Re: Max Modules?
by perigeeV (Hermit) on Sep 30, 2001 at 10:20 UTC

    Unless you use a module in a process, modules are nothing more than disk filler. I guess it's conceivable that if you had many thousands of mods installed, and you use'd one that was in the last directory of @INC, things would slow down while perl looked for the .pm file. That's easily worked around though.


Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://115713]
Approved by root
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.